GoGdb
GoGdb copied to clipboard
How to add the -gcflags '-N' flag to get complete debugging info
The compiler will optimize away variables makign some debugging difficult -- I was able to manually modify the build command to add '-gcflags -N' but I wonder if it's possible to make this an enviroment variable or somehow settable
You can look at my fork. This commit added -gcflags (hardcoded).