Skip to content

Instantly share code, notes, and snippets.

@ogabrielluiz
Created April 7, 2023 20:34
Show Gist options
  • Save ogabrielluiz/479ab85b2fb338ccc22b3eda74334e74 to your computer and use it in GitHub Desktop.
Save ogabrielluiz/479ab85b2fb338ccc22b3eda74334e74 to your computer and use it in GitHub Desktop.
vscode launch.json to attach to a debugpy running in a docker
{
"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