Created
June 22, 2022 16:40
-
-
Save LeoMcA/3356584a51eb130a15cb3b424707ff22 to your computer and use it in GitHub Desktop.
debug any python app in vscode
This file contains 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
#!/bin/bash | |
python -m debugpy --listen 5678 --wait-for-client "$@" |
This file contains 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": "Attach to .vscode/debug-python", | |
"type": "python", | |
"request": "attach", | |
"connect": { | |
"host": "127.0.0.1", | |
"port": 5678 | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment