Created
March 19, 2017 13:53
-
-
Save michael-nischt/bc588f6a02f129ce8f9053fd11d59866 to your computer and use it in GitHub Desktop.
go-debug.conf with buildflags for CGO debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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