feat(vscode): add Django debug configuration

Added a new `launch.json` configuration for VSCode to enable debugging Django applications directly within the IDE. This setup specifically configures the Python Debugger (`debugpy`) for Django with custom server port `8091`, enhancing the development workflow by allowing developers to debug their Django applications without the need for external tools. The configuration is tailored to provide a smoother integration of debugging capabilities, focusing on improving productivity and efficiency during the development process.

This change reflects a broader effort to streamline the development environment, ensuring that team members can quickly and effectively troubleshoot issues, test new features, and iterate on their Django applications within a familiar and integrated development environment.
This commit is contained in:
Kumi 2024-05-17 13:19:22 +02:00
parent 9051af6335
commit 710fd7df01

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

@ -0,0 +1,20 @@
{
// 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",
"8091"
],
"django": true,
"autoStartBrowser": false,
"program": "${workspaceFolder}/manage.py"
}
]
}