debug keymap

This commit is contained in:
mightypanders 2023-02-27 22:49:20 +01:00
parent 86901ba013
commit 25361af105

View File

@ -47,7 +47,7 @@ nmap("<F5>",":lua require'dap'.continue()<CR>")
nmap("<F10>",":lua require'dap'.step_over()<CR>")
nmap("<F11>",":lua require'dap'.step_into()<CR>")
nmap("<F12>",":lua require'dap'.step_out()<CR>")
nmap("<leader>b",":lua require'dap'.toggle_breakpoint()<CR>")
nmap("<leader>B",":lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))<CR>")
nmap("<leader>B",":lua require'dap'.toggle_breakpoint()<CR>")
nmap("<leader>Bc",":lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))<CR>")
nmap("<leader>lp",":lua require'dap'.set_breakpoint(nil,nil,vim.fn.input('Log point message: '))<CR>")
nmap("<leader>lp",":lua require'dap'.repl.open()<CR>")