FWIW Delve (https://github.com/derekparker/delve) sets the proper `gcflags` to produce a binary optimal for debugging if you need a debugger.
On Monday, February 27, 2017 at 4:17:39 PM UTC-8, jamalsm...@gmail.com wrote: > > What are some best practices for general purpose -gcflags to use for > debugging and conversely for optimizing code? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.