add support for codelldb

This commit is contained in:
Ivar Fatland
2025-01-08 08:35:52 +01:00
parent 99948c7014
commit df6f2fed9a
+2
View File
@@ -186,6 +186,8 @@ require'lazy'.setup{
local dap = require'dap' local dap = require'dap'
dap.adapters.godot = { type = 'server', host = '127.0.0.1', port = 6006, } dap.adapters.godot = { type = 'server', host = '127.0.0.1', port = 6006, }
dap.configurations.gdscript = { type = 'godot', request = 'launch', name = 'Launch scene', project = "${workspaceFolder}", } dap.configurations.gdscript = { type = 'godot', request = 'launch', name = 'Launch scene', project = "${workspaceFolder}", }
dap.adapters.codelldb = { type = 'executable', command = 'codelldb', }
vim.cmd [[ vim.cmd [[
nnoremap ,b :DapToggleBreakpoint<CR> nnoremap ,b :DapToggleBreakpoint<CR>
nnoremap ,B :DapClearBreakpoints<CR> nnoremap ,B :DapClearBreakpoints<CR>