Created
April 7, 2023 20:34
-
-
Save ogabrielluiz/479ab85b2fb338ccc22b3eda74334e74 to your computer and use it in GitHub Desktop.
vscode launch.json to attach to a debugpy running in a docker
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
{ | |
"configurations": [ | |
{ | |
"name": "Python: Remote Attach", | |
"type": "python", | |
"request": "attach", | |
"justMyCode": false, | |
"connect": { | |
"port": 5678 | |
}, | |
"pathMappings": [ | |
{ | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "." | |
} | |
] | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment