From d2893c3ffa4316f3bd4cd03feb14dc37ed8d79e8 Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 12 Jul 2024 08:41:06 +0200 Subject: [PATCH] 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. --- .vscode/launch.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..0d3968a --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} \ No newline at end of file