This commit is contained in:
Alexander Navarro 2023-04-07 11:33:15 -04:00
parent 7aa43dbb76
commit f7ac1a1693
2 changed files with 25 additions and 7 deletions

View file

@ -51,6 +51,18 @@ return {
end,
desc = "Debugger: Toggle Breakpoint",
},
["<leader>DB"] = {
function()
require("dap").toggle_breakpoint(vim.fn.input("Breakpoint condition: "))
end,
desc = "Debugger: Toggle Breakpoint with contidion",
},
["<leader>DD"] = {
function()
require("dap").clear_breakpoints()
end,
desc = "Debugger: clear breakpoint",
},
["<leader>fp"] = {
function()