Borrowing it
Nothing to install: this file belongs to dronsv/jdwp-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dronsv/jdwp-mcp/main/.claude/commands/debug-exception.mdgit clone --depth 1 https://github.com/dronsv/jdwp-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/dronsv/jdwp-mcp/debug-exception)<a href="https://agentmods.dev/commands/dronsv/jdwp-mcp/debug-exception"><img src="https://agentmods.dev/badge/commands/dronsv/jdwp-mcp/debug-exception/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/dronsv/jdwp-mcp/debug-exception"><img src="https://agentmods.dev/badge/commands/dronsv/jdwp-mcp/debug-exception.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00106 |
| Opus 5.5 | $0.00000 | $0.00042 |
| Sonnet 5.5 | $0.00000 | $0.00021 |
| Haiku 4.5 | $0.00000 | $0.00011 |
Grade A, and why
debug-exception scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
I'm debugging a Java app. Make sure it's running with JDWP enabled: java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -jar app.jar
Attach to localhost:5005. The app throws an exception. Set an exception breakpoint for the relevant exception class, wait for it to fire, show the stack and all local variables at the throw site. Explain what state caused the exception and suggest a fix.
$ARGUMENTS
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 10 lines · 0 tokens per session scan A 3b63268a7e21
debug-exception is a command published in the GitHub repository dronsv/jdwp-mcp (1 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 106 tokens. A static security scan graded it A with 0 findings. It comes from a forked repository.
Other commands, from other repositories
cpp-build
Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.
rust-build
Fix Rust build errors and borrow checker issues.
build-fix
Systematically diagnose and fix build errors, type errors, or failing CI.
go-build
Fix Go build and vet errors.
java-debug
Debug Java applications - analyze errors, memory issues, performance.
fire-resurrect
Autonomous Resurrection Mode — reverse-engineer intent from messy code, then rebuild clean from scratch.