vg: Virtualgo does not work well with delve
I’m currently using Gogland for go development. Switching over to vg definitely helps with reducing CPU load and in general making gogland snappier.
Running tests still works as expected. When setting breakpoints and running tests in debug mode, it seems like the breakpoints are not registering at all. My current fallback solution is to set GOPATH back to my default global path, effectively disabling vg
, but that defeats the purpose of using it in the first place 😃
This may be an OS X thing and how it deals with symlinks, but I thought I’d see if anyone else has a good way of dealing with this.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (9 by maintainers)
Good to hear that it works with
bindfs
, that gives me more reason to actually finish/clean up the feature. Just to confirm, debugging with delve now works without using a global fallback GOPATH, right?Regarding the bug, I used
fusermount
because on linuxumount
requiressudo
permissions. But apparently it doesn’t work that way on mac. I’ll debug this with my colleagues (that use macs) in a while and work on a cross platform solution. Probably something like tryingfusermount
first and if that doesn’t exist tryumount
.For now I would suggest you keep using your changed
bindfs
branch. And I’ll close this issue once the branch is merged.