mini debug things
This commit is contained in:
parent
c7bbbf1a77
commit
dea2aeeb13
|
@ -743,6 +743,11 @@ local plugins = {
|
|||
command = "/home/plex/.local/bin/kitty",
|
||||
args = {},
|
||||
}
|
||||
dap.adapters.gdb = {
|
||||
type = "executable",
|
||||
command = "gdb",
|
||||
args = { "-i", "dap" },
|
||||
}
|
||||
dap.adapters.codelldb = {
|
||||
type = "server",
|
||||
port = "30333",
|
||||
|
@ -761,6 +766,7 @@ local plugins = {
|
|||
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
|
||||
end,
|
||||
cwd = "${workspaceFolder}",
|
||||
-- FIXME: perhaps we can put the stdio somewhere more practical
|
||||
stopOnEntry = false,
|
||||
},
|
||||
}
|
||||
|
@ -784,10 +790,10 @@ local plugins = {
|
|||
dapui.open {}
|
||||
end
|
||||
dap.listeners.before.event_terminated["dapui_config"] = function()
|
||||
dapui.close {}
|
||||
-- dapui.close {}
|
||||
end
|
||||
dap.listeners.before.event_exited["dapui_config"] = function()
|
||||
dapui.close {}
|
||||
-- dapui.close {}
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue