An extension for nvim-dap to provide C, C++ and Rust debugging support.
Just like any other NeoVim plugin.
Here is an example using Lazy package manager:
{
"julianolf/nvim-dap-lldb",
dependencies = { "mfussenegger/nvim-dap" },
opts = { codelldb_path = "/path/to/codelldb" },
}
For CodeLLDB installation I recommend using mason.vim. When using Mason you can omit the codelldb_path
option, the extension will find it automatically. If no path was given and Mason is not available the extension will assume that CodeLLDB is on the system path.