[COMING] Neovim Lua - Build C project in Debug when start DAP
Opened this issue · 0 comments
Curs3W4ll commented
What is this feature about?
The DAP is currently waiting for the user to specify the executable path or automatically detect it. But if the user does not rebuild the executable in debug mode itself, then the executable will not be valid and out of date.
So the goal is to be able to automatically compile the project in debug mode each time we want to restart a debug session.
How will this solution be done?
We may do this using functions only in DAP configuration but it may be useful to create a new plugin (search if existing plugins already do that?)
What needs to be done?
- Create the functions/plugin to do this
- Link it with the DAP and DAP UI