← Back to Product Feed

Hacker News Show HN: Dap-mux – Connect your editor and REPL to the same debug session

A DAP multiplexer that transforms the one-to-one DAP protocol into a cooperative session for multiple tools, enabling any DAP-aware editor, REPL, or observer to connect simultaneously to a single debugger, and providing durable sessions.

7
Traction Score
1
Discussions
Jun 7, 2026
Launch Date

Product Positioning & Context

AI Executive Synthesis
A DAP multiplexer that transforms the one-to-one DAP protocol into a cooperative session for multiple tools, enabling any DAP-aware editor, REPL, or observer to connect simultaneously to a single debugger, and providing durable sessions.
Dap-mux solves a fundamental developer workflow inefficiency by transforming the Debug Adapter Protocol (DAP) from a restrictive one-to-one connection into a flexible many-to-one multiplexed session. This enables simultaneous debugging across multiple tools—editors, REPLs, and observers—a critical capability for complex development environments. The project directly addresses the pain point of being locked into a single IDE or sacrificing preferred tools for debugging functionality. Its durable sessions and robust state management enhance developer productivity and resilience. Dap-mux aligns with the UNIX philosophy of composable tools, offering a powerful abstraction layer that significantly improves the debugging experience across diverse language and editor ecosystems, fostering greater toolchain flexibility for engineering teams.
I have been coding over four decades, in many languages, on many projects (including Firefox, Final Cut Pro, the Newton, and Fullwrite Professional if you can remember that far back; all these using my "dead-name").I wrote something small and simple to scratch an itch. It's the UNIX philosophy: small "one-trick ponies", each *really* good at their one trick, then the user can hook them together to solve actual problems. I'm a CLI guy, and for almost everything, I already have this. But not for debugging. The itch I scratched was the connector that enables this philosophy for debugging. That thing is dap-mux. A DAP multiplexer turning a one-to-one protocol into a cooperating session of as many tools as you need to get it done!How it started: Helix and Python for me (and sometimes IPython), with the rest of my team using PyCharm (which I have long loved!). My team's problem is that they want the PyCharm debugger, and so must be satisfied with the JetBrains editor. *My* problem was I could use a full-blown debugger *or* I could have IPython *or* I could have Helix (or sometimes an unsatisfying combination of Helix and the debugger). That was my "itch".DAP (Debug Adapter Protocol) is the tantalizing answer, except it isn't. DAP is what editors (that don't want to write their own debuggers) are starting to adopt. The problem with DAP is it's one-to-one. One editor connects to one debugger. Done. Not a solution to my problem. And then suddenly, it *was* the solution. I realized that a DAP multiplexer would let you connect any DAP-aware editor to any debugger for any language, and simultaneously to a REPL, another session of your editor (or a different editor)! With the side benefit that now, like screen or tmux, since each process is its own thing: sessions are durable. Just restart whatever crashed and you're back where you were!There were hard parts: sequencing, late joiners, state management. Different end-points working on different actions in different sequences but with the same message ids. I solved these problems something like how NAT works. Instead of translating network addresses, though, I'm translating the sequence numbers of each client into something global and ordered, then correctly routing replies back to the end-point awaiting them, while mapping the sequence numbers for those replies back into the space of that end-point. Knowing the current state of the debugger, and replaying that as a message sequence to late joiners lets you start/connect the clients in any order. I chose Python: asyncio fits the I/O-router pattern perfectly, and it lets the IPython extension run in-process rather than over IPC.There are problems not yet solved: for instance, I think configuration in the clients and/or the startup sequence is too complicated. But it functions! I got what I wanted!The combination I use every day: Python + debugpy + Helix + IPython, all connected simultaneously. Step with `%n` or `%s`, evaluate expressions with `%eval`, watch Helix track the current line in real time. Rust with codelldb is the second confirmed combination — I debugged a Dijkstra implementation with Helix and a third-party DAP observer tool both connected to the same codelldb session. A community member, Sean Perry, has already built [dap-observer](https://github.com/shaleh/dap-observer), which renders the current frame's variables as a navigable terminal tree. *This* was my exact dream! Small, focused, connectable tools all playing together!There's so much left to try: other editors, other debug adapters, Windows, other languages. None of this has been touched yet. The most helpful thing now is people testing it with their own setup and reporting what they find. It's time to play!`uv tool install 'dap-mux[ipython]'` for Python + IPython. `uv tool install dap-mux` for headless use with any language and adapter. No need for any part of the Python ecosystem.https://github.com/dap-mux/dap-mux
DAP (Debug Adapter Protocol) multiplexer editor REPL debug session UNIX philosophy one-to-one protocol cooperating session

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Dap-mux – Connect your editor and REPL to the same debug session?
Dap-mux – Connect your editor and REPL to the same debug session is analyzed by our AI as: A DAP multiplexer that transforms the one-to-one DAP protocol into a cooperative session for multiple tools, enabling any DAP-aware editor, REPL, or observer to connect simultaneously to a single debugger, and providing durable sessions.. It focuses on Dap-mux solves a fundamental developer workflow inefficiency by transforming the Debug Adapter Protocol (DAP) from a restrictive one-to-one connect...
Where did Dap-mux – Connect your editor and REPL to the same debug session originate?
Data for Dap-mux – Connect your editor and REPL to the same debug session was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Dap-mux – Connect your editor and REPL to the same debug session publicly launched?
The initial public indexing or launch date for Dap-mux – Connect your editor and REPL to the same debug session within our tracked developer communities was recorded on June 7, 2026.
How popular is Dap-mux – Connect your editor and REPL to the same debug session?
Dap-mux – Connect your editor and REPL to the same debug session has achieved measurable traction, logging over 7 traction score and facilitating 1 recorded discussions or engagements.
Which technical categories define Dap-mux – Connect your editor and REPL to the same debug session?
Based on metadata extraction, Dap-mux – Connect your editor and REPL to the same debug session is categorized under topics such as: DAP (Debug Adapter Protocol), multiplexer, editor, REPL.
What are some commercial alternatives to Dap-mux – Connect your editor and REPL to the same debug session?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Freesolo Flash, which offers overlapping value propositions.
How does the creator describe Dap-mux – Connect your editor and REPL to the same debug session?
The original author or development team describes the product as follows: "I have been coding over four decades, in many languages, on many projects (including Firefox, Final Cut Pro, the Newton, and Fullwrite Professional if you can remember that far back; all these usin..."

Community Voice & Feedback

No active discussions extracted yet.

Discovery Source

Hacker News Hacker News

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.