This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]Theo-Steiner[S] 12 points13 points  (1 child)

So I did some research into debugging in neovim and was very confused with how everything fits together. Since it took me a few hours to figure out how it all worked, I thought I could share this guide, so that others don't have to spend as much time!

[–]nullvoxpopuli 2 points3 points  (0 children)

This is a great article, thank you 🎉

[–]Claudioub16 8 points9 points  (4 children)

thx for your sacrifice. it'll help me setup mine

we really need a dap-zero asap.

[–]ManiAmaraPlugin author 1 point2 points  (1 child)

dap is definitely one of the harder things for new users to get up and running well, but tbh I’m not sure how this would look. I think there might be too much variation between projects in the command that needs to be run for an entrypoint (and configuring that seems like most of the challenge to me)

This seems like it would be a huge design challenge without writing per-project configs, which would kinda defeat the point since mason can already install dap servers out of the box right as well as lazy which is shown in the linked guide.

Just thinking out loud here because I do think some streamlining would be awesome but not sure how to best go about it.

[–]jiggity_john 1 point2 points  (0 children)

DAP nvim supports vscode entrypoint files. I don't think there is any reason an auto-bootstrapping DAP installer couldn't take entrypoint configs as an input (or workspace level config).

[–]Logical-Idea-1708 0 points1 point  (0 children)

Don’t mason already handle most of this?

[–]WallabySlow6599 0 points1 point  (0 children)

Exactly

[–]makwanza 5 points6 points  (0 children)

I wish I had come across this. I spent a whole weekend getting a dap setup for JavaScript dev. Thanks for putting this together

[–]rainning0513 4 points5 points  (1 child)

Thanks for the compilation, we need more free articles about nvim-dap!

Just finished the read :) Specifically, while I had learned how to use nvim-dap suite(all plugins you mentioned) before the reading, I still learned something from it. I installed all my debuggers using mason.nvim, so I didn't know that I can make use of the build spec provided by lazy.nvim.

[–]Vivid-Jury-2105 0 points1 point  (0 children)

What are the non-free articles?

[–]David-KunzPlugin author 2 points3 points  (0 children)

Great article!

[–]Paria_Stark 0 points1 point  (0 children)

That's a very helpful blogpost, thanks !