{ programs.nvf.settings.vim.debugger.nvim-dap = { # nvim-dap enables debugging # you can set breakpoints and step through code or use a REPL enable = true; mappings = { # default mappings: # - Continue:dc # - Go down stacktrace:dvi # - Go up stacktrace:dvo # - Hover:dh # - Restart:dR # - Re-run Last Debug Session:d. # - Continue to the current cursor:dgc # - Step back:dgk # - Step into function:dgi # - Step out of function:dgo # - Next step:dgj # - Terminate:dq # - Toggle breakpoint:db # - Toggle DAP-UI:du # - Toggle Repl:dr }; # list of debuggers to install sources = {}; # install nvim-dap-ui which provides a debugging ui ui = { enable = true; setupOpts = {}; }; }; }