Skip to content

Instantly share code, notes, and snippets.

@chrismckinnel
Created May 29, 2019 02:39
Show Gist options
  • Save chrismckinnel/64f653497deb7366405d250bc05622cb to your computer and use it in GitHub Desktop.
Save chrismckinnel/64f653497deb7366405d250bc05622cb to your computer and use it in GitHub Desktop.
Visual code debugging config for Python attaching to a running process
{
"version": "0.2.0",
"configurations": [
{
"name": "SAM CLI Python Hello World",
"type": "python",
"request": "attach",
"port": 5890,
"host": "127.0.0.1",
"pathMappings": [
{
"localRoot": "${workspaceFolder}/hello_world",
"remoteRoot": "/var/task"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment