
Debugium
io.github.Algiras由 GitHub 帳號 Algiras 發布v1.0.0更新於 Oct 24, 2026
AI-driven live debugger with MCP bridge for Python, JS, TS, Rust, Java, C/C++
概覽
Debugium 是一款多語言即時除錯器,附網頁介面,並透過 MCP 橋接把除錯工作階段開放給 AI 助理進行單步、檢視與問題分析。
- 可以做什麼
- 定位與檢視:一次取得完整除錯脈絡、呼叫堆疊、作用域、變數、執行緒、原始碼與主控台輸出
- 設定與清除中斷點、記錄點、函式中斷點、例外中斷點與資料中斷點
- 控制執行:繼續、逐步進入/跳過/跳出、暫停、跳至指定位置、重新啟動、終止、中斷連線
- 求值與修改變數運算式,讀寫記憶體,反組譯原生程式碼
- 檢視歷程:時間軸、變數歷程、快照比對、首次變更定位
- 在原始碼行加上註解與結論、管理工作區運算式,以及啟動、附加、匯出與匯入工作階段
- 適用情境
- 適合讓助理直接調查正在執行的程式,而不是只憑原始碼推測:重現缺陷、逐步追蹤失敗的測試、觀察變數何時改變,或附加到遠端的 debugpy、JDWP、Node inspector 程序。
- 執行需求
- 以本機程序方式執行(npm 套件或已安裝的執行檔),僅限桌面端,支援 macOS 與 Linux。需要 debugium 服務已啟動並有進行中的工作階段,以及目標語言的除錯轉接器:Python 用 debugpy,Node/TypeScript 用 js-debug,C/C++/Rust/WASM 用 lldb-dap,Java 用 java-debug,Scala 用 Metals,或自訂 dap.json。未宣告驗證機制或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Debugium,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Debugium
A multi-language debugger with a real-time web UI and LLM integration via MCP.
Debug Python, JavaScript, TypeScript, C, C++, Rust, Java, Scala, and WebAssembly programs from your browser — with AI-driven analysis through the Model Context Protocol.
Features
Web UI
- Real-time web UI — source viewer, breakpoints, variables (recursive expansion), call stack, console, timeline, watch expressions, findings — all updated live via WebSocket
- Multi-tab source viewer — open multiple files, click stack frames to navigate
- Variable search — filter variables by name with recursive expansion
- Changed-variable highlighting — variables that changed since last stop shown in orange
- Thread selector — switch between threads in multi-threaded programs
- Panel collapse & resize — drag to resize, toggle to collapse; Slim / Standard / Full layout presets
- Dark / light mode toggle
- Auto-reconnect — UI reconnects after a dropped WebSocket, with visual status indicator
- Keyboard shortcuts — F5 continue, F10 step over, F11 step in, Shift+F11 step out, Ctrl/Cmd+D dark mode
- Button animations — in-flight spinner and completion flash for debug commands
Debugging
- Multi-language — Python (debugpy), Node.js/TypeScript (js-debug), C/C++/Rust (lldb-dap), Java (java-debug), Scala (Metals), WebAssembly (lldb-dap), or any DAP adapter via
dap.json - Comprehensive DAP coverage — 35+ DAP requests: breakpoints, stepping, goto, memory read/write, disassembly, and more
- Breakpoints — conditional, logpoints, hit-count, function, data (watchpoints), exception, run-to-cursor (
continue_until) - Multi-session — debug multiple programs simultaneously, with child session routing (js-debug)
- Remote debugging — attach to debugpy, JDWP, or Node inspector running on another machine or container
LLM / MCP Integration
- 64 MCP tools — the full debug session exposed to Claude or any LLM
- Capability-gated tools — tools automatically shown/hidden based on adapter capabilities
- Compound tools —
get_debug_context(orient in one call),step_until,step_until_change,run_until_exception,explain_exception,get_call_tree,compare_snapshots,find_first_change - Execution timeline — every stop recorded with changed variables and stack summary
- Watch expressions — evaluated automatically at every breakpoint, manageable by LLM or UI
- Annotations & findings — pin notes to source lines, record conclusions visible in the UI
- Session export/import — save and restore debugging knowledge across sessions
CLI Control
- Full CLI — 13 subcommands to drive sessions from a second terminal without the web UI
- Auto-discovery — port file at
~/.debugium/port, session logs in~/.debugium/sessions/
Install
Claude Code Plugin (recommended)
Then add to your project's .mcp.json (see MCP Tools below).
macOS / Linux binary
From source
Usage
Debug a Python file
Debug a Node.js / TypeScript file
Debug C / C++ / Rust
Debug Java / Scala
Attach to a running process (remote debugging)
Or via MCP: attach_session(port=5678, adapter="python", breakpoints=["/path/app.py:42"])
Use a custom adapter via dap.json
Set initial breakpoints
Enable LLM / MCP integration
Add a .mcp.json to your project root (Claude Code picks this up automatically):
Then launch the session normally — the MCP server connects to whichever port is active:
Claude Code will now have access to all Debugium MCP tools. See CLAUDE.md for the recommended workflow and SKILL.md for the full tool reference.
CLI Control Commands
Once a session is running (debugium launch …), you can drive it from a second terminal — or from an LLM agent — without touching the web UI.
Port is auto-discovered from ~/.debugium/port; override with --port.
Global flags (all subcommands)
Inspection
Breakpoints
Execution control
UI annotations (visible in the web UI)
Example workflow
MCP Tools
When connected via MCP, 64 tools are available. Key ones:
Note:
step_over,step_in, andstep_outare blocking — they wait for the adapter to pause before returning. Safe to chain back-to-back without sleeps.continue_executionreturnsconsole_line_countfor use withwait_for_output. Tools likeread_memory,goto, andrestart_frameonly appear when the adapter supports them.
See SKILL.md for the full reference with input schemas.
Keyboard Shortcuts
Architecture
Supported Languages & Adapters
Remote debugging
Connect to a DAP server running on another machine (or in a container):
License
MIT
來源:README.md,提交 e1fc50d
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。