add vscode launch file for django

This commit is contained in:
Corban-Lee 2023-09-12 19:11:26 +01:00
parent 6fac419d42
commit 3d848b662a

18
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "corban-lee.dev",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": ["runserver"],
"django": true,
"justMyCode": true,
"pythonPath": "${workspaceFolder}/venv/bin/python"
}
]
}