You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be wonderful to have an option in the builder configuration to keep the debug information. Possibly it could be generalized to a pass of any arguments to the go build command call with the default value ["-ldflags=-s -w", "-trimpath"] to keep the compatibility.
The text was updated successfully, but these errors were encountered:
jpkrohling
transferred this issue from open-telemetry/opentelemetry-collector
Jan 25, 2022
It's hard to impossible to debug a collector binary using gdb due to stripped DWARF and symbols tables.
https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/builder/internal/builder/main.go#L89
It would be wonderful to have an option in the builder configuration to keep the debug information. Possibly it could be generalized to a pass of any arguments to the
go build
command call with the default value["-ldflags=-s -w", "-trimpath"]
to keep the compatibility.The text was updated successfully, but these errors were encountered: