Add some configuration for debugging the init file

From the use-package manuel, see info:use-package#Troubleshooting.
This commit is contained in:
Daniel Borchmann 2025-03-11 17:27:17 +01:00
parent 53a0944197
commit c50689c38c
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -64,6 +64,11 @@
use-package-verbose t
use-package-minimum-reported-time 0.01)
(when init-file-debug
(setq use-package-expand-minimally nil
use-package-compute-statistics t
debug-on-error t))
(add-to-list 'package-pinned-packages '(use-package . "melpa-stable"))
(add-to-list 'package-pinned-packages '(bind-key . "melpa-stable"))