feat: add debugging configuration for Django in VSCode

Included a new launch.json for VSCode to enable easy debugging
of Django projects using the Python Debugger. This configuration
launches the Django server with debugpy, making it simpler for
developers to set breakpoints and debug their applications directly
within the editor.
This commit is contained in:
Kumi 2024-07-12 08:41:06 +02:00
parent c7c05f2677
commit d2893c3ffa
Signed by: kumi
GPG key ID: ECBCC9082395383F

19
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,19 @@
{
// 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": "Python Debugger: Django",
"type": "debugpy",
"request": "launch",
"args": [
"runserver"
],
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/manage.py"
}
]
}