Trying to run debugging for a go package. I've gotten it to work before when opening the Debug test (go.mod) test in the configuration. However, now that screen is just flashing open/close. That got me to dig in and try to figure out why I can't run any of the other configurations. I do have dlv installed:
I've been using nvim for only 5 months at this point, so I'm still very new, if someone could help me figure out why I suddenly can't load the debugger for go, when I have been able to before.
EDIT:
Tried manually opening DAP-UI and finding the stderr messages there, and I found these when trying to start a debug session:
[debug-adapter stderr] could not remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin3971516382: remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin3971516382: no such file or directory
[debug-adapter stderr] could not remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin2516458328: remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin2516458328: no such file or directory
Build Error: go build -o /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin1187058319 -gcflags all=-N -l /Users/mclacore/massdriver/airlock/pkg/opentofu/tofutoschema_test.go
[debug-adapter stderr] could not remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin2989260157: remove /Users/mclacore/massdriver/airlock/pkg/opentofu/__debug_bin2989260157: no such file or directory
Trying to run debugging for a go package. I've gotten it to work before when opening the
Debug test (go.mod)
test in the configuration. However, now that screen is just flashing open/close. That got me to dig in and try to figure out why I can't run any of the other configurations. I do havedlv
installed:So i tried to find out what I could/could not do and record it:
DAP UI is flashing on/off in this gif for
Debug test
andDebug test (go.mod)
, but it doesn't show it in the gif.Captured log:
Here's my dap config (started w/ Kickstart.nvim):
I've been using nvim for only 5 months at this point, so I'm still very new, if someone could help me figure out why I suddenly can't load the debugger for go, when I have been able to before.
EDIT:
Tried manually opening DAP-UI and finding the stderr messages there, and I found these when trying to start a debug session: