cpow / neovim-for-newbs

a simple lua neovim configuration for newbs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help needed - debug config issues

KaiserDMC opened this issue · comments

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!