mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
BREAKING CHANGE: This removes dap-mode from the debugger module. Use dape instead. dap-mode was deprecated inb4bd368
when realgud was replaced with dape, which has been excellent, so I want to focus this module's support on it going forward. Ref:b4bd368485
14 lines
386 B
EmacsLisp
14 lines
386 B
EmacsLisp
;;; tools/debugger/autoload/debugger.el -*- lexical-binding: t; -*-
|
|
|
|
;;;###autoload
|
|
(defalias '+debugger/start #'dape)
|
|
|
|
;;;###autoload
|
|
(defun +debugger/quit ()
|
|
"Quit the active debugger session."
|
|
(interactive)
|
|
(if-let* ((conn (and (featurep 'dape)
|
|
(dape--live-connection 'parent t))))
|
|
(dape-quit conn)
|
|
(user-error "No debugger session to quit")))
|