@@ -28,42 +28,14 @@ return {
2828 },
2929 keys = {
3030 -- Basic debugging keymaps, feel free to change to your liking!
31- {
32- ' <F5>' ,
33- function () require (' dap' ).continue () end ,
34- desc = ' Debug: Start/Continue' ,
35- },
36- {
37- ' <F1>' ,
38- function () require (' dap' ).step_into () end ,
39- desc = ' Debug: Step Into' ,
40- },
41- {
42- ' <F2>' ,
43- function () require (' dap' ).step_over () end ,
44- desc = ' Debug: Step Over' ,
45- },
46- {
47- ' <F3>' ,
48- function () require (' dap' ).step_out () end ,
49- desc = ' Debug: Step Out' ,
50- },
51- {
52- ' <leader>b' ,
53- function () require (' dap' ).toggle_breakpoint () end ,
54- desc = ' Debug: Toggle Breakpoint' ,
55- },
56- {
57- ' <leader>B' ,
58- function () require (' dap' ).set_breakpoint (vim .fn .input ' Breakpoint condition: ' ) end ,
59- desc = ' Debug: Set Breakpoint' ,
60- },
31+ { ' <F5>' , function () require (' dap' ).continue () end , desc = ' Debug: Start/Continue' },
32+ { ' <F1>' , function () require (' dap' ).step_into () end , desc = ' Debug: Step Into' },
33+ { ' <F2>' , function () require (' dap' ).step_over () end , desc = ' Debug: Step Over' },
34+ { ' <F3>' , function () require (' dap' ).step_out () end , desc = ' Debug: Step Out' },
35+ { ' <leader>b' , function () require (' dap' ).toggle_breakpoint () end , desc = ' Debug: Toggle Breakpoint' },
36+ { ' <leader>B' , function () require (' dap' ).set_breakpoint (vim .fn .input ' Breakpoint condition: ' ) end , desc = ' Debug: Set Breakpoint' },
6137 -- Toggle to see last session result. Without this, you can't see session output in case of unhandled exception.
62- {
63- ' <F7>' ,
64- function () require (' dapui' ).toggle () end ,
65- desc = ' Debug: See last session result.' ,
66- },
38+ { ' <F7>' , function () require (' dapui' ).toggle () end , desc = ' Debug: See last session result.' },
6739 },
6840 config = function ()
6941 local dap = require ' dap'
0 commit comments