Could someone please explain me how to use the environment variable GODEBUG
?
Maybe a link to a good tutorial
Google is not very helpful - or I don't know what to search for
The GODEBUG environment variable is documented in the runtime package.
Dave Cheney describes how to visualize GC using telemetry from GODEBUG=gctrace=1.