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.
This commit is contained in:
parent
88e18fc7c1
commit
6de1e56d4f
2 changed files with 74 additions and 27 deletions
|
@ -5,6 +5,8 @@
|
|||
(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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue