Skip to content

Instantly share code, notes, and snippets.

@jgoc
Created July 11, 2019 00:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgoc/ebd49f5239cdf2986326be9503a0c41d to your computer and use it in GitHub Desktop.
Save jgoc/ebd49f5239cdf2986326be9503a0c41d to your computer and use it in GitHub Desktop.
golang delve debugging in vscode launch.json
{
// 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": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}",
"env": {},
"args": [],
"showLog": true
}
]
}
@jgoc
Copy link
Author

jgoc commented Jul 11, 2019

click "Analysis Tools Missing" at the bottom right of vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment