Skip to content

Instantly share code, notes, and snippets.

@mdimai666
Created December 28, 2019 01:42
Show Gist options
  • Save mdimai666/ea0de51b652735f4e712eff51bbff271 to your computer and use it in GitHub Desktop.
Save mdimai666/ea0de51b652735f4e712eff51bbff271 to your computer and use it in GitHub Desktop.
VSCode run django from F5 debug mode with venv
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: RunServer",
"type": "python",
"request": "launch",
"pythonPath": "${workspaceFolder}/../venv/Scripts/python.exe",
"program": "${workspaceFolder}/src/manage.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}\\src\\",
"args": [
"runserver",
"0.0.0.0:80"
],
"env": {
"VIRTUAL_ENV" : "${workspaceFolder}\\..\\venv\\",
},
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment