Created
October 7, 2024 07:17
-
-
Save felixhammerl/415441f17ed64565869c9515248b5941 to your computer and use it in GitHub Desktop.
Python debugging #2
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": "bla", | |
"type": "debugpy", | |
"request": "attach", | |
"connect": { | |
"host": "localhost", | |
"port": 5678 | |
}, | |
"preLaunchTask": "start-debugger-unit-tests", | |
}, | |
] | |
} |
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": "start-debugger-unit-tests", | |
"type": "shell", | |
"command": "sops exec-env .local.enc.env 'poetry run python -m debugpy --wait-for-client --listen 0.0.0.0:5678 -m pytest tests/unit'", | |
"isBackground": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment