AI Agent Hub
Back to plugins
🖥️

dsh-debug-mode

Client Updated 2026.09.09

Run the following command in DeepSeek Harness:

dsh plugin install svcgv/dsh-debug-mode

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install svcgv/dsh-debug-mode in the DeepSeek Harness terminal to install this plugin; source code is available at https://github.com/svcgv/dsh-debug-mode

About this plugin

When an AI agent diagnoses a bug, the weakest link is evidence. Without breakpoints, runtime probes, or a reproducible trace, the agent defaults to guessing. dsh-debug-mode turns the DeepSeek Harness Web composer into a three-mode workspace (Normal, Plan, Debug) and, in Debug mode, gives the agent actual forensic power: it instruments a frontend project with browser probes that capture line-numbered runtime events and deliver them over CORS to a local listener; it sets breakpoints in Node (CDP) and Python (DAP) backends and runs the full wait, evaluate, next, continue debug loop, finishing with automatic cleanup and a persistent trace.jsonl for post-mortem review.

The plugin also handles the messier, real-world workflows: the first debug_start asks for user confirmation, listing the target process pid and restart instructions, then stops the existing service so the agent can debug in place and restores normal service on debug_finish. The reproductionScope parameter (local, lan, auto) lets the agent decide whether to advertise a loopback or a LAN address, making it practical to reproduce and collect cross-origin probe events on a physical or emulated device over the local network. Every step—from the agent issuing a debug request to breakpoint hits, expression evaluation, root-cause analysis, and scene restoration—is driven programmatically through the debug_control tool, so the agent no longer needs a human to paste stack traces.

Built for engineers who use DeepSeek Harness to develop full-stack web apps (frontend plus Node/Python backends) or Flutter mobile applications. If you want your agent to produce verifiable, line-numbered, timestamped evidence before drawing a conclusion rather than merely mimicking a debug conversation, flip the Debug switch and let it work with real breakpoints.

Use Cases

  • Agent sets breakpoints in a Node or Python backend, runs the full wait/evaluate/next/continue loop, and produces a root-cause report
  • Agent instruments a web frontend with browser probes, collecting line-numbered runtime events delivered over CORS to a local listener
  • Agent reproduces a bug on a LAN device, selects local/lan/auto endpoint scope, and gathers cross-origin probe evidence

Best For

  • Full-stack web engineers building with DeepSeek Harness
  • Developers who want evidence-based AI diagnostics instead of speculative reasoning
  • Flutter developers who need to reproduce and collect probe events on LAN devices