Skip to main content

DAP Core

To use this, add it to your lazy.nvim imports:

lua/config/lazy.lua
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.dap.core" },
{ import = "plugins" },
},
})

nvim-dap

opts = {}

nvim-dap-ui

fancy UI for the debugger

opts = {}

nvim-dap-virtual-text

virtual text for the debugger

opts = {}

which-key.nvim

which key integration

opts = {
defaults = {
["<leader>d"] = { name = "+debug" },
["<leader>da"] = { name = "+adapters" },
},
}

mason-nvim-dap.nvim

mason.nvim integration

opts = {
-- Makes a best effort to setup the various debuggers with
-- reasonable debug configurations
automatic_installation = true,

-- You can provide additional configuration to the handlers,
-- see mason-nvim-dap README for more information
handlers = {},

-- You'll need to check that you have the required things installed
-- online, please don't ask me how to install them :)
ensure_installed = {
-- Update this to ensure that you have the debuggers for the langs you want
},
}