doomemacs/modules/tools/debugger/packages.el
Henrik Laxhuber 6de1e56d4f
Fix +debug/start for dap-based debuggers.
Reworks the internals of how the debugger module stores the last-used
configuration:
- car of the configuration indicates whether it is a realgud or a
dap-based configuration.
- For dap-based debuggers, the entire dap configuration is stored, with
code copied from `dab-debug`.
- When inside a project, don't store the configuration as a buffer-local
variable, but instead as a project-local variable using
`projectile-variable`.

Fixes #2367.
2021-02-28 22:16:38 +01:00

12 lines
501 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; tools/debugger/packages.el
(when (package! realgud :pin "f73c039a340579a98e6716c901fd4e80e7eaa2eb")
(when (featurep! :lang javascript)
(package! realgud-trepan-ni :pin "6e38cf838c7b47b5f1353d00901b939ffa36d707")))
(package! projectile-variable :pin "8d348ac70bdd6dc320c13a12941b32b38140e264")
(when (featurep! +lsp)
(package! dap-mode :pin "aa15b9c49b7e09bb23f9a4ff7855122f0eb19976")
(package! posframe :pin "3454a4cb9d218c38f9c5b88798dfb2f7f85ad936"))