Skip to content

DAP integration

Zeioth edited this page Aug 11, 2023 · 44 revisions

By default compiler.nvim compile your programs in debug mode. You don't need to do anything special to debug them with DAP.

But there are 3 important thing for you to know:

  • Build & run, and Build compile in debug mode by default.
  • But if you create a .solution file in your project, that will overwrite the default compiler arguments with your own. So if you want to compile in debug mode in that scenario, you will have to manually pass the argument (as explained in every language section here).
  • If you want to compile in production mode, create a .solution file and set your own arguments. This will overwrite the default compiler arguments with your own values. For more details see solution.

Here you can find details about how configure DAP for every language:

I recommend you to check the DAP official docs too.

Clone this wiki locally