Skip to content

Instantly share code, notes, and snippets.

@bbrodriges
Last active July 24, 2018 17:30
Show Gist options
  • Save bbrodriges/4ed59433a468e4a5fc7e74b93eff5580 to your computer and use it in GitHub Desktop.
Save bbrodriges/4ed59433a468e4a5fc7e74b93eff5580 to your computer and use it in GitHub Desktop.
[golang] vscode debug
{
// 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": "Delve",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}/main.go",
"envFile": "${workspaceRoot}/main.env",
"args": [],
"showLog": true,
"internalConsoleOptions": "openOnSessionStart",
"useApiV1": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment