aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/kickstart/plugins/debug.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua
index 000bcb8..14f422f 100644
--- a/lua/kickstart/plugins/debug.lua
+++ b/lua/kickstart/plugins/debug.lua
@@ -72,7 +72,9 @@ return {
},
},
}
-
+ -- toggle to see last session result. Without this ,you can't see session output in case of unhandled exception.
+ vim.keymap.set("n", "<F7>", dapui.toggle)
+
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
dap.listeners.before.event_terminated['dapui_config'] = dapui.close
dap.listeners.before.event_exited['dapui_config'] = dapui.close