dbg for c actually works
This commit is contained in:
parent
cbc4a9b5af
commit
7acbe5078b
|
@ -337,7 +337,7 @@ return {
|
|||
desc = 'Debugging: Toggle breakpoint',
|
||||
},
|
||||
{
|
||||
'<leader>db',
|
||||
'<leader>dc',
|
||||
'<cmd>lua require\'dap\'.continue()<CR>',
|
||||
mode = { 'n', 'x' },
|
||||
desc = 'Debugging: Start or continue debug session',
|
||||
|
@ -355,10 +355,30 @@ return {
|
|||
desc = 'Debugging: Step over code',
|
||||
},
|
||||
{
|
||||
'<leader>dm',
|
||||
'<leader>dr',
|
||||
'<cmd>lua require\'dap\'.repl.open()<CR>',
|
||||
mode = { 'n', 'x' },
|
||||
desc = 'Debugging: Menu',
|
||||
desc = 'Debugging: repl Menu',
|
||||
},
|
||||
{
|
||||
'<leader>dms',
|
||||
function()
|
||||
local widgets = require('dap.ui.widgets')
|
||||
local my_sidebar = widgets.sidebar(widgets.scopes)
|
||||
my_sidebar.open()
|
||||
end,
|
||||
mode = { 'n', 'x' },
|
||||
desc = 'Debugging: Menu scopes',
|
||||
},
|
||||
{
|
||||
'<leader>dmf',
|
||||
function()
|
||||
local widgets = require('dap.ui.widgets')
|
||||
local my_sidebar = widgets.sidebar(widgets.frames)
|
||||
my_sidebar.open()
|
||||
end,
|
||||
mode = { 'n', 'x' },
|
||||
desc = 'Debugging: Menu frames',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue