dsh-debug-mode
Run the following command in DeepSeek Harness:
dsh plugin install a554878526/dsh-debug-mode
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install a554878526/dsh-debug-mode in the DeepSeek Harness terminal to install; source: https://github.com/a554878526/dsh-debug-mode
About this plugin
Debugging AI-agent-involved front-end or Electron projects is often a game of scattered evidence: browser consoles, Electron logs, and Node server output live in separate places, the agent can only guess from a pasted snapshot, and the temporary console.log lines you added to hunt the bug tend to linger in the code base. dsh-debug-mode collapses the entire evidence chain into a single structured JSONL stream. One to three surgical probes capture only the fields directly tied to the current hypothesis, so after each reproduction the agent reads fresh runtime evidence and can prove or reject the failing branch instead of scrolling through thousands of unstructured lines.\n\nRunning /debug activates a Host-enforced runtime phase that requires the agent to create a session, start a log transport, and place marked probes before asking for a reproduction. Once evidence arrives, the agent either applies the smallest supported fix or opens a new evidence round; it cannot silently fall back to console-only output or skip verification. Clicking Fixed triggers automatic cleanup: probe removal, ingest-process shutdown, and local log deletion, leaving no stray instrumentation behind. Four bundled helpers for session bootstrapping, JSONL ingestion, evidence summarization, and leftover-instrumentation detection can also be invoked independently for custom instrumentation or CI pipelines.\n\nThe plugin is especially useful for hunting down UI state desynchronization, worker-boundary communication anomalies, async races, and serialization failures—bugs that static code inspection alone cannot prove. It is a good fit for developers who want the agent to own the full evidence-to-fix-to-verification-to-cleanup loop, and for engineering teams that need a consistent JSONL evidence format reusable in CI workflows.
Screenshots
Use Cases
- Diagnosing async race conditions between UI state and worker communication in Electron apps
- Letting an AI agent capture runtime evidence of the failing branch via surgical probes
- Reproducing and verifying serialization failures in CI with a unified JSONL format
Best For
- Front-end or Electron engineers using DeepSeek Harness for AI-agent-assisted development
- Developers who want the agent to own the full evidence-to-fix-to-verify-to-cleanup loop
- Automation teams that need a unified runtime evidence format in CI pipelines
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.
