mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-19 16:51:10 +00:00
add cpp debugger
This commit is contained in:
parent
24a962e8dc
commit
ee4d420353
@ -18,5 +18,18 @@ return {
|
||||
|
||||
-- dapui keymaps
|
||||
vim.keymap.set("n", "<leader>dui", "<cmd>lua require'dapui'.toggle()<CR>")
|
||||
|
||||
|
||||
-- configure adapters
|
||||
|
||||
-- c/c++ debugger
|
||||
local dap = require("dap")
|
||||
dap.adapters.cppdbg = {
|
||||
id = "cppdbg",
|
||||
type="executable",
|
||||
command = vim.fn.stdpath("data") .. "/mason/bin/OpenDebugAD7"
|
||||
}
|
||||
|
||||
|
||||
end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user