Created
October 7, 2024 07:23
-
-
Save felixhammerl/a6b015f84a16b2de6daaa01c3c8bb823 to your computer and use it in GitHub Desktop.
Python debugging #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Test (Unit)", | |
"type": "debugpy", | |
"request": "launch", | |
"console": "integratedTerminal", | |
"module": "pytest", | |
"envFile": "${workspaceFolder}/.local.dec.env", | |
"preLaunchTask": "decrypt-secrets", | |
"postDebugTask": "delete-secrets", | |
"args": [ | |
"--disable-pytest-warnings", | |
"tests/unit" | |
] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "decrypt-secrets", | |
"type": "shell", | |
"command": "make decrypt-secrets", | |
"hide": true, | |
"presentation": { | |
"reveal": "never" | |
} | |
}, | |
{ | |
"label": "delete-secrets", | |
"type": "shell", | |
"command": "make delete-secrets", | |
"hide": true, | |
"presentation": { | |
"reveal": "never" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment