Skip to content

Instantly share code, notes, and snippets.

@buddylindsey
Created May 21, 2020 19:01
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 buddylindsey/e55e1aed8d8d2a295b7b1220740adeec to your computer and use it in GitHub Desktop.
Save buddylindsey/e55e1aed8d8d2a295b7b1220740adeec to your computer and use it in GitHub Desktop.
VS Code Debug with Django add the following to your .vscode
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Django Shell",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": ["shell_plus"],
"django": true
},
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": ["runserver", "--noreload"],
"django": true
}
]
}
{
"python.pythonPath": ".venv/bin/python3",
"python.testing.pytestEnabled": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment