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

Help needed - debug config issues #6

Open
KaiserDMC opened this issue Jan 12, 2024 · 0 comments
Open

Help needed - debug config issues #6

KaiserDMC opened this issue Jan 12, 2024 · 0 comments

Comments

@KaiserDMC
Copy link

Anyone know if there is a need of additional settings in addition to debugging.lua setup to debug Go files?

Using Neovim v0.9.4 on Windows.
Delve and all other pre-requisites are installed and I get no errors in :checkhealth, Mason or anywhere.

Tried starting Neovim from the application itself, PowerShell, Powershell for Windows, CMD and most recently Alacritty, but the results are always the same:

  • I place a breakpoint
  • I click continue -> to start debugging
  • A new cmd window opens and closes in roughly 2 seconds
  • The error presented in Neovim is dlv exited with code 2
  • After some more time an error indicating that dap did not respond appears

I read that one may need to use a config.json or some additional .lua config files for dap but everything I found online was either outdated or it did not work.

Appreciate any inputs!

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