Claude Code plugins by Cenadros
npx claudepluginhub cenadros/claude-debug-pluginDebug plugin for Claude Code — capture runtime data with fetch() instrumentation
A debug plugin for Claude Code that captures runtime data from instrumented code. The agent inserts fetch() calls at strategic locations, captures the data via a local HTTP server, and analyzes the logs to diagnose issues.
Inspired by opencode-debug.
fetch() calls to test each hypothesisAdd the marketplace and install the plugin:
/plugin marketplace add Cenadros/claude-debug-plugin
/plugin install claude-debug-mode@cenadros-plugins
/plugin add Cenadros/claude-debug-plugin
| Tool | Description |
|---|---|
debug-start | Start the debug capture server |
debug-stop | Stop the server (logs are preserved) |
debug-read | Read and analyze captured debug data |
debug-clear | Clear the log file for a fresh session |
debug-status | Check if debug mode is active |
Start a debugging session with the /investigate command:
/investigate "API returns 500 when creating user with duplicate email"
The agent will form hypotheses, instrument your code to test them, and ask you to reproduce the issue. After analyzing the logs, it either refines its hypotheses and loops back, or proposes a fix and asks you to verify.
The agent inserts calls like this:
fetch("http://localhost:3737/debug", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ label: "descriptive-label", data: { key: value } }),
}).catch(() => {});
Logs are plain text:
[2026-02-10T15:30:45.123Z] user-login-start | {"userId":123}
[2026-02-10T15:30:45.456Z] api-response | {"status":200}
[2026-02-10T15:30:45.789Z] error-caught | {"error":"Duplicate email"}
MIT