Created
December 28, 2019 01:42
-
-
Save mdimai666/ea0de51b652735f4e712eff51bbff271 to your computer and use it in GitHub Desktop.
VSCode run django from F5 debug mode with venv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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