Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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