Skip to content

Instantly share code, notes, and snippets.

@eiriks
Created June 25, 2018 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiriks/b0be4a8ccf26a12e886a5ed26ae7a5e6 to your computer and use it in GitHub Desktop.
Save eiriks/b0be4a8ccf26a12e886a5ed26ae7a5e6 to your computer and use it in GitHub Desktop.
// add a debug config for python in vs code using virtual env and adding a folder to path
{
"name": "Python: create_model",
"type": "python",
"request": "launch",
"env": {
"PYTHONPATH": "${workspaceFolder}/spaCy"
},
"pythonPath": "${workspaceFolder}/.env/bin/python",
"program": "${workspaceFolder}/create_model.py",
"args": [
"-d",
"-ndt",
"-freqs",
"-brown",
"-w",
"-f",
"-i",
"-p"
],
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment