Skip to content

Instantly share code, notes, and snippets.

@michael-nischt
Created March 19, 2017 13:53
Show Gist options
  • Save michael-nischt/bc588f6a02f129ce8f9053fd11d59866 to your computer and use it in GitHub Desktop.
Save michael-nischt/bc588f6a02f129ce8f9053fd11d59866 to your computer and use it in GitHub Desktop.
go-debug.conf with buildflags for CGO debugging
{
"configurations": [
{
"name": "Debug CGO",
"mode": "debug",
"_args": [],
"_env": { },
"_cwd": "${workspaceRoot}",
"_host": "localhost",
"_port": 2345,
"_program": "<path>",
"buildFlags": "-ldflags='-linkmode=internal'",
"_init": "<path>",
"showLog": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment