nvim-neotest / neotest-go

MIT License
125 stars 43 forks source link

DAP support #12

Open nikita-orca opened 1 year ago

akinsho commented 1 year ago

FYI: 👉🏿 https://github.com/nvim-neotest/neotest-go#contributing 👉🏿 https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation#go-using-delve-directly

florentcigolotti commented 1 year ago

Hi!

I have been working a bit on a PR to add the support for the dap strategy. I got something that is working for simple Test and Example right now. This is a draft for now, I don't feel confident about the integration in the adapter.build_spec function (if someone have some time to add comments on the PR I will appreciate)

Also right now after a debugging session the status sign is broken, I haven't spend much time on it, I will do when I have spare time!

The user experience is awesome when it works! (thanks a lot for writing this plugin)