-
-
Save ncl0w/a6d0f19f360c5281e1a63b4fef9a3b48 to your computer and use it in GitHub Desktop.
Sample Django Configuration launch.json VSCode (Visual Studio Code)
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": "Django", | |
"type": "python", | |
"request": "launch", | |
"stopOnEntry": false, | |
"pythonPath": "${workspaceRoot}/venv/bin/python3.4", | |
"program": "${workspaceRoot}/manage.py", | |
"args": [ | |
"runserver", | |
"1818" | |
], | |
"debugOptions": [ | |
"WaitOnAbnormalExit", | |
"WaitOnNormalExit", | |
"RedirectOutput", | |
"DjangoDebugging" | |
], | |
"env": { | |
"DJANGO_DB_NAME": "aroounddb", | |
"DJANGO_DB_USER": "codeslave", | |
"DJANGO_DB_PASSWORD": "codeslave", | |
"DJANGO_DB_HOST": "172.17.0.2", | |
"DJANGO_DB_PORT": "5432", | |
"DJANGO_DEBUG": "True", | |
"DJANGO_SETTINGS_MODULE": "settings" | |
} | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment