Skip to content

Instantly share code, notes, and snippets.

@felipemfp
Created July 11, 2019 16:28
Show Gist options
  • Save felipemfp/e30b6f499531aeef0aab4a4e6e2f98b9 to your computer and use it in GitHub Desktop.
Save felipemfp/e30b6f499531aeef0aab4a4e6e2f98b9 to your computer and use it in GitHub Desktop.
Debug Go with vscode
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Remote debug in Docker",
"type": "go",
"request": "launch",
"mode": "remote",
"program": "${fileDirname}",
"env": {},
"args": [],
"remotePath": "/lab259/argo/src/argo/cmd/subscriptions",
"port": 2345,
"host": "localhost"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment