dap
URL: https://codeberg.org/mfussenegger/nvim-dap/
Maintainers: Austin Horstman
Debug Adapter Protocol client implementation for Neovim.
plugins.dap.enable
Whether to enable dap.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.dap.package
The dap package to use.
Type: package
Default:
pkgs.vimPlugins.nvim-dap
Declared by:
plugins.dap.autoLoad
Whether to automatically load dap when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.dap.configurations
Debugger configurations, keyed by filetype.
The type field must match an adapter configured under plugins.dap.adapters.
See :h dap-configuration for more info.
Type: null or (attribute set of list of ((open submodule of (attribute set)) or raw lua code))
Default:
null
Example:
{
cpp = [
{
type = "codelldb";
request = "launch";
name = "Launch executable";
program.__raw = ''
function()
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
end
'';
cwd = "\${workspaceFolder}";
stopOnEntry = false;
}
{
type = "codelldb";
request = "attach";
name = "Attach to process";
pid.__raw = "require('dap.utils').pick_process";
cwd = "\${workspaceFolder}";
}
];
}
Declared by:
plugins.dap.settings
Options provided to the require('dap').setup function.
Type: lua value
Default:
{ }
Example:
{
callback = lib.nixvim.mkRaw ''
function()
print('nixvim')
end
'';
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by: