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:
parent
c7c05f2677
commit
d2893c3ffa
1 changed files with 19 additions and 0 deletions
19
.vscode/launch.json
vendored
Normal file
19
.vscode/launch.json
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue