Introducing mcu-debug
A modern, modular embedded debugging ecosystem engineered for automation, headless CI workflows, seamless remote development, and AI agent integration.
CLI & CI First
Full TUI mode and headless command-line interface. Automate firmware flashes, GDB trace captures, and regression tests in CI pipelines.
Frictionless Remote
First-class support for WSL2, Docker containers, and SSH targets with zero manual port forwarding or pipe setup.
AI Agent Native
Multiplexes raw GDB commands, UARTs, RTT buffers, and logs into a structured stream for hybrid AI/human debugging.
Automation & Remote Infrastructure
Bring your embedded debugging out of isolated desktop IDEs into modern cloud & containerized dev pipelines.
CLI & CI Automation
Headless ModeLaunch full debug sessions directly from the command line or within automated test suites without booting a graphical user interface.
- TUI Debugger: Rich terminal user interface for interactive terminal-only environments.
- CI Pipeline Ready: Run automated hardware-in-the-loop (HIL) tests in GitHub Actions or Jenkins.
- Unified Scripting: Programmatically execute GDB commands and capture memory dumps.
$ mcu-debug debug --config 0
Frictionless Remote Debugging
Zero Config TunnelsNative support for remote development environments without standard remote GDB networking gymnastics.
- Docker & Container Dev: Seamless hardware passthrough into Linux dev containers.
- WSL2 Native Speed: Direct USB debug probe access with low-latency sockets.
- Remote SSH Hosts: Debug hardware attached to remote farm servers transparently.
"hostConfig": true
AI-Assisted Debugging & Hardware Telemetry
Multiplexing raw GDB capabilities, register states, and memory streams into a coherent AI diagnostic surface.
Multiplexed Debug Surface
RTT + GDB Commands + UART
Unifies fragmented hardware output channels into a clean, machine-parsable stream. AI agents don't struggle with raw terminal noise; they read structured hardware telemetry.
Autonomous Raw GDB Operations
Full Direct Control
The AI agent directly executes low-level GDB inspection commands—evaluating pointers, reading register states, dumping memory maps, and setting conditional hardware breakpoints autonomously.
Hybrid Mode & Session Notes
Human-in-the-Loop
Developers maintain full strategic direction. Using session-notes,
the human sets targets while the AI logs hypotheses and asks for physical board actions
(e.g., unplug cable, toggle jumper).
Drop-in Evolution from Cortex-Debug
Built on years of cortex-debug experience, upgraded for next-generation embedded demands.
Frictionless Team Onboarding
Because mcu-debug shares DNA with cortex-debug, existing launch configurations can
be reused with minimal modifications.
Key Strategic Advantages
- Standardized Tooling: One debugger for local VS Code, remote Linux servers, and automated CI tests.
- AI Readyness: Prepares team workflows for AI co-pilots with multiplexed telemetry feeds.
- Vendor Neutrality: Works across ARM Cortex-*, RISC-V, OpenOCD, J-Link, ST-Link, probe-rs, and PyOCD. 64-bit ready
Ready to explore mcu-debug?
Try running a test session side-by-side with your existing setup. Fully open source and built to empower modern embedded engineering teams.