# emacs-lsp/dap-mode

Emacs :heart: Debug Adapter Protocol

Repository: https://github.com/emacs-lsp/dap-mode
Canonical: https://ross.abutalabs.com/products/dap-mode
Homepage: https://emacs-lsp.github.io/dap-mode
Language: Emacs Lisp
License: GPL-3.0
License Family: copyleft
Topics: debugger, lsp, emacs, java, debug, go, ruby, rust, cpp, swift, javascript, typescript, php, powershell, lua, emacs-lsp
Last push: 2026-06-19T08:24:48+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 8, longevity 100
- inputs: {"age_days": 3028, "days_push": 75, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1386, forks 188 (observed 2026-08-28T04:04:35.048135+00:00)

## What it is
dap-mode is an Emacs client and library for the Debug Adapter Protocol (DAP), providing integrated debugging inside Emacs similar to how lsp-mode integrates language servers. It supports many languages including Java, Python, Ruby, Elixir, and C/C++/Swift via LLDB, with features like debug templates, a hydra keymap, and Docker-based debug server support.

## Use cases
- debug programs from within emacs
- set breakpoints and step through code in emacs
- debug java python ruby elixir in emacs
- use debug adapter protocol in emacs
- debug c++ with lldb in emacs
- debug code running in docker from emacs

## When to choose
- you use Emacs as your primary editor and want an integrated graphical debugger
- you want DAP-based debugging across multiple languages with a consistent interface
- you need to debug applications running in Docker containers from Emacs

## When to avoid
- you use VS Code or another editor with built-in DAP support
- you need a stable, guaranteed API before the 1.0 release
- you need to connect to debuggers over a network connection, which is not yet supported

## Facets
- artifact type: plugin
- maturity: active
- function: developer-tools, editor
- domain: developer-tools, text-editors
- platform: editor-plugin, cross-platform
- tags: debug-adapter-protocol, dap, emacs-lisp, lsp-ecosystem, debugging-ui, debugger, debugging, emacs

## Member repositories
- emacs-lsp/dap-mode (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.048135+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:53.919794+00:00, confidence not recorded.
  - homepage: https://emacs-lsp.github.io/dap-mode (fetched 2026-08-29T11:55:21.692364+00:00, sha 5b6975865615)
- Data as of 2026-08-30T08:39:29.467469+00:00.
