Files
doomemacs/modules/tools/debugger
Henrik Lissner 4b99e6f156 fix(debugger): wrong-number-of-arguments error
dape-breakpoint-save's sole argument is optional. Calls omitting it
would cause our advise to throw an arity error.

Amend: 52dbde017a
2025-05-14 23:43:58 +02:00
..
2024-09-14 20:47:39 -04:00
2025-05-02 14:58:40 -04: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?