Skip to content

Remote Debug Substitute Path does not work for root #3855

@nlnw

Description

@nlnw

This issue is a bit hard to explain and reproduce because I have the problem with corporate code.

With the remote debugging functionality, I use dlv-dap and use against a service running on a remote host in a docker container and most things are okay except the path substitutions don't work if I try to substitute out the root.

For example, I want to do:

  • from: /Users/me/repo/
  • to: /

But this doesn't seem to work. However, this does work:

  • from: /Users/me/repo/lib/
  • to: lib/

I think there's some kind of path stripping that makes the substitution not work for the root path. Could this please be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions