add keymaps for clearing and listing all breakpoints
This commit is contained in:
parent
8dd235cbb6
commit
12d125b471
|
@ -36,6 +36,14 @@ return {
|
|||
},
|
||||
-- Toggle to see last session result. Without this, you can't see session output in case of unhandled exception.
|
||||
{ '<F6>', dapui.toggle, desc = 'Debug: See last session result.' },
|
||||
{ '<leader>dc', dap.clear_breakpoints, desc = '[C]lear All Breakpoints' },
|
||||
{
|
||||
'<leader>dl',
|
||||
function()
|
||||
dap.list_breakpoints(true)
|
||||
end,
|
||||
desc = '[L]ist Breakpoints',
|
||||
},
|
||||
unpack(keys),
|
||||
}
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue