First commit.
This commit is contained in:
26
lisp/utilities/dap.el
Normal file
26
lisp/utilities/dap.el
Normal file
@@ -0,0 +1,26 @@
|
||||
;;; dap.el --- Debug adapter protocol. -*- lexical-binding: t; -*-
|
||||
;;; Commentary: Emacs client/library for Debug Adapter Protocol is a wire protocol for communication between client and Debug Server.
|
||||
;;; Code: https://github.com/emacs-lsp/dap-mode
|
||||
|
||||
(use-package dap-mode
|
||||
:disabled
|
||||
:pin "MELPA"
|
||||
:hook ((lsp-mode-hook . dap-mode)
|
||||
(lsp-mode-hook . dap-ui-mode))
|
||||
:bind-wrap
|
||||
(:map lsp-mode-map
|
||||
((:key :debug :break) . dap-breakpoint-toggle)
|
||||
((:key :debug :step) . dap-step-in)
|
||||
((:key :debug :next) . dap-next)
|
||||
((:key :debug :run) . dap-debug)
|
||||
((:key :debug :continue) . dap-continue)
|
||||
|
||||
((:key :debug :show-value) . dap-ui-inspect-thing-at-point))
|
||||
:config
|
||||
(validate-setq
|
||||
;; Location of persistent breakpoints.
|
||||
dap-breakpoints-file (path-join *user-cache-directory* "dap-breakpoints")))
|
||||
|
||||
|
||||
(provide 'utilities/dap)
|
||||
;;; dap.el ends here
|
Reference in New Issue
Block a user