소스 검색

Dapui.toggle is added

SamPosh 3 년 전
부모
커밋
9004013a8d
1개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      lua/kickstart/plugins/debug.lua

+ 3 - 1
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