Skip to content

Instantly share code, notes, and snippets.

@markruler
Created October 15, 2020 06:25
Show Gist options
  • Save markruler/2a5e842adb9772720ec114b002e65d56 to your computer and use it in GitHub Desktop.
Save markruler/2a5e842adb9772720ec114b002e65d56 to your computer and use it in GitHub Desktop.
debugging go code 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
// https://www.digitalocean.com/community/tutorials/debugging-go-code-with-visual-studio-code
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceRoot}/main.go",
"env": {},
"args": ["registry"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment