fix(debugger): don't persist breakpoints

Leave it to users to implement this, if they want this, but not only
might it cause confusion, but users may want a clean slate every time
they launch a new debugging session in the same project.

Fix: #8407
This commit is contained in:
Henrik Lissner
2025-06-02 13:30:54 +02:00
parent 50a2ba0586
commit c1632fa887

View File

@ -34,8 +34,6 @@
;; Persist breakpoints after closing DAPE.
(dape-breakpoint-global-mode +1)
(add-hook 'dape-start-hook #'dape-breakpoint-load 0)
(add-hook 'dape-stopped-hook #'dape-breakpoint-save 'append)
;; HACK: Otherwise, if `dape-default-breakpoints-file's parent directory
;; doesn't exist, `dape-breakpoint-save' will throw an error.