Skip to content

Add explicit documentation for configuring substitutePaths when using -trimpath #2609

@firelizzard18

Description

@firelizzard18

Is your feature request related to a problem? Please describe.
It is not clear how to set up substitutePaths when debugging a binary built with -trimpath.

Describe the solution you'd like
A section in docs/debugging.md that shows an example of how to debug a binary built with -trimpath.

Describe alternatives you've considered
Stumbling around and googling until you find go-delve/delve#2754, then figuring it out on your own from there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions