Added dap config for c files

This commit is contained in:
EsVagy42 2025-12-01 13:44:46 +01:00
parent 3f1bb81446
commit 23eb7bb108

View file

@ -23,6 +23,20 @@
runInTerminal = true, runInTerminal = true,
}, },
} }
dap.configurations.c = {
{
name = 'Launch',
type = 'lldb',
request = 'launch',
program = function()
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
end,
cwd = "''${workspaceFolder}",
stopOnEntry = true,
args = {},
runInTerminal = true,
},
}
dap.adapters.coreclr = { dap.adapters.coreclr = {
type = 'executable', type = 'executable',