mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add doom/toggle-debug-mode command
This commit is contained in:
@ -320,3 +320,9 @@ If INIT-FILE is non-nil, profile that instead of USER-INIT-FILE."
|
||||
|
||||
;;;###autoload
|
||||
(advice-add #'esup :override #'doom/profile-emacs)
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/toggle-debug-mode ()
|
||||
"Enable `debug-on-error' and `doom-debug-mode' for verbose logging."
|
||||
(interactive)
|
||||
(setq doom-debug-mode doom-debug-on-error))
|
||||
|
Reference in New Issue
Block a user