Skip to content

Add dape#580

Open
Frestein wants to merge 1 commit intoemacs-tw:masterfrom
Frestein:patch-1
Open

Add dape#580
Frestein wants to merge 1 commit intoemacs-tw:masterfrom
Frestein:patch-1

Conversation

@Frestein
Copy link

@jcs090218
Copy link
Member

I think https://github.com/realgud is more popular—what was the reason for reordering it?

@Frestein
Copy link
Author

Frestein commented Jan 20, 2026

I think https://github.com/realgud is more popular—what was the reason for reordering it?

From my personal experience, everyone has long since switched to DAP as the standard or is moving toward supporting it. I've never heard of anyone using realgud.

In Doom Emacs, dape replaced realgud — doomemacs/doomemacs@b4bd368.

This change was made because realgud's implementation was archaic and
over-complicated, dap-mode requires lsp-mode (and has a lot of moving
parts and points of failure), and dape is straight-forward by
comparison; to set up and use. Note that dap-mode and dap-ui is now
deprecated and will be removed in the future, but still remains behind
the +lsp flag for backwards compatibility, at least until v3.

For example, the Neovim community has long adopted nvim-dap (moved to Codeberg) by mfussenegger as the debugger best practice.

Why is it preferred over dap-mode? Because it doesn't depend on lsp-mode, so it's better suited for a built-in experience. Other differences with dap-mode.

Also, since 2021 realgud has not been actively developed. IMO, using it is an outdated practice.

@appetrosyan
Copy link
Contributor

My two cents.

DAP is useful, but it doesn't provide all of the bells and whistles that realgud does. It's the lsp-mode <> eglot situation all over again. Plus DAP is only usable with lsp-mode and eglot is built in, and can be used with realgud.

As for dape, the user experience, as well as the developer courteousness leave much to be desired. It's not as plug-and-play as dap-mode, and most cerainly not as feature-full as realgud. Not saying it's bad, just that the opinion of Doom Emacs maintainers does not necessarily represent all Emacs users.

@Frestein
Copy link
Author

Okay. I can place dape in whichever order is convenient for you, since I don't care. Place it before lsp-mode or after?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants