Files
doomemacs/modules/tools/debugger
Henrik Lissner c1632fa887 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
2025-06-02 14:19:26 +02:00
..
2024-09-14 20:47:39 -04:00
2025-05-15 11:39:50 +02:00

:tools debugger

Description   unfold

Turns Emacs into a debug adapter client, powered by doom-package:dape. The debug adapter protocol aims to establish a standardized interface and API for debuggers.

Maintainers

This module has no dedicated maintainers. Become a maintainer?

Module flags

+lsp
(This flag is deprecated) Installs doom-package:dap-mode and doom-package:dap-ui. Requires doom-module::tools lsp (not compatible with Eglot).

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

Then check out the install instructions for the debug adapters you want to work with.

 Dape's documentation will instruct you to install debug adapters to $EMACSDIR/debug-adapters/, but Doom uses $DOOMDIR/debug-adapters/ instead! Alter dape-adapter-dir to change this.

Usage

Start the debugger with M-x +debugger/start (bound to <leader> o d). You'll be prompted to enter a debugger configuration to launch (use <up>/<down> to traverse your history of debugger configs).

Once the session is started, it can be terminated by M-x +debugger/quit.

TODO Configuration

󱌣 This module has no configuration documentation yet. Write some?

The default debugger configs can be found in var:dape-configs.

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

󱌣 This module has no appendix yet. Write one?