feat: add VSCode debug configuration for Python

Introduces a new VSCode debug configuration to streamline debugging for Python scripts. This configuration includes settings to launch the main.py program using the integrated terminal within the current workspace and sets an environment variable for development purposes.
This commit is contained in:
Kumi 2024-06-12 12:07:29 +02:00
parent 47c2fa9455
commit d7c309a585
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",
"type": "debugpy",
"request": "launch",
"program": "main.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PRIVATECOFFEE_DEV": "1"
}
}
]
}