Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change cwd of delve process #47

Open
Snyssfx opened this issue Feb 3, 2021 · 0 comments
Open

Change cwd of delve process #47

Snyssfx opened this issue Feb 3, 2021 · 0 comments

Comments

@Snyssfx
Copy link

Snyssfx commented Feb 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant