Added dap config for c files
This commit is contained in:
parent
3f1bb81446
commit
23eb7bb108
1 changed files with 14 additions and 0 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue