These are chat archives for
Sign in to start talking
Delve is a debugger for the Go programming language.
Aug 15 2018 11:25
I totally agree with this. Note that however, the easier solution for me is to have delve locally supporting workarounds (nothing new regarding workarounds in the software world, right?). The question is what is the stance on delve and workarounds?
Aug 15 2018 12:26
The proposed workaround here would be for delve to trim the working directory from the location it receives via RPC if a certain flag is passed or config parameter set.
Aug 15 2018 12:29
the problem with including this workaround is that it needs configuration and at the moment a headless instance of delve doesn't read any configuration
Aug 15 2018 12:30
could technically be a CLI argument, but ignoring the work that needs to be done (and that I would happily take), would this stand ground as a request and a PR from an ideological perspective?
Aug 15 2018 12:49
Definitely not in rpc2/server.go, maybe in debugger.go. I'd vote against it, you'd have to convince Derek.
Aug 15 2018 12:50
Aug 15 2018 12:51
the thing is that we already have a mechanism to mess with file paths, but it operates client-side instead of server-side