basic hardcoded debugging

This commit is contained in:
2025-10-25 01:29:14 -03:00
parent 0f393df44e
commit 31992214c8
2 changed files with 77 additions and 0 deletions
+20
View File
@@ -41,6 +41,7 @@ require("lazy").setup({
{ import = "plugins.coding" },
{ import = "plugins.colors" },
{ import = "plugins.ui" },
{ import = "plugins.debugging" },
},
install = { colorscheme = { "habamax" } },
checker = { enabled = true },
@@ -53,3 +54,22 @@ require("notify").setup({
background_colour = "#000000",
})
local dap = require('dap')
dap.adapters.codelldb = {
type = "executable",
command = "/Users/caiowakamatsu/install/codelldb/extension/adapter/codelldb",
}
local dap = require('dap')
dap.configurations.cpp = {
{
type = 'codelldb';
request = 'launch';
name = "Launch file";
program = "build/source/cfi_app";
},
}
vim.api.nvim_create_user_command("Debug", function(opts)
end,)