vim-delve icon indicating copy to clipboard operation
vim-delve copied to clipboard

Change cwd of delve process

Open Snyssfx opened this issue 4 years ago • 0 comments

Hi! First of all, thanks for the great plugin, it greatly improves my debugging experience :)

When I work with a console dlv, my usual debugging routine is to go to the project root and run dlv debug ./cmd/main.go there, since some of the programs expect the root current work dir.

But I don't see how to run :DlvDebug from root dir or change cwd. How could I do this?

As a workaround I managed to pass relative paths as command line options to binary, so it's not so important now.

Snyssfx avatar Feb 03 '21 15:02 Snyssfx