whatbroke — crash context for your AI coding agent, inside VS CodeSee your latest crash the moment it happens: the file most likely responsible (ranked, with reasons), the diff since your code last worked, the stack trace, and secret-free logs — right in the VS Code sidebar. whatbroke turns a Node, TypeScript, Python, or Go crash into grounded context your AI coding agent (GitHub Copilot, Claude, Cursor, Codex) can actually fix, instead of guessing from a pasted snippet.
What problem does this solve?When a test suite, build, or server dies in your terminal, the context you need to fix it decays instantly: the stack trace scrolls away, your working tree has uncommitted edits, and "what changed since this last worked?" lives only in local git state. If you debug with an AI coding agent, you end up copy-pasting half a stack trace and hoping it edits the right file. whatbroke freezes that context and shows it in VS Code, so you (and your agent) start from the ranked culprit file and the exact diff since green, not a snippet. When should I use it?Install whatbroke if you:
Features
Quickstart
This extension does not wrap your terminal command — you run How does it stay accurate?Stale-location safety. A bundle is pinned to the commit and working tree at crash time. If you edit files after the crash — or move Resolved by green. whatbroke writes no bundle on a passing run — it only updates FAQWhat is whatbroke? A local-first crash-context tool. The CLI wraps a dev command and, on a crash, captures a redacted, git-anchored bundle — the error, the diff since the code last passed, and a deterministically-ranked guess at the responsible file. This VS Code extension is the read-only viewer for those bundles. Does it fix my bug or write code?
No. It localizes and shows — ranked suspects, diff-since-green, logs. Your AI coding agent proposes the fix, now grounded in real context. The CLI's Will it leak my API keys or secrets? No. The CLI scrubs secrets through a mandatory, fail-closed redaction gate before anything is written to disk, and this extension only reads already-redacted bundles. Which languages does it support? Node.js and TypeScript first-class (parsed frames, source-map resolution, test-runner identity). Python and Go get ranked suspects, crash kind, and the full report in logs; tracebacks/panics printed to stderr also get parsed frames. Do I need an account, API key, or cloud service? No. whatbroke is local-only — no account, no dashboard, no telemetry, no network. Open source (Apache-2.0). How does it know which file broke? The CLI records every passing run's commit as green, then on a crash intersects the files on the stack trace with the files you changed since the last green commit. The overlap ranks highest — deterministic, no LLM. Across a public benchmark of 35 real regressions it names the right file in the top 3 100% of the time (top-1 90%). How is this different from Error Lens, Sentry, or just reading the terminal? Error Lens annotates diagnostics your language server already produces; Sentry monitors deployed apps. whatbroke owns the gap neither covers: the local terminal / backend crash, anchored to your git state and handed to your AI agent — with the diff since it last worked and the ranked culprit. Settings
Links
Build from source
Press F5 in VS Code to launch an Extension Development Host. Licensed Apache-2.0, same as the whatbroke CLI. Keywords: VS Code crash viewer, AI coding agent context, Node.js crash debugging, TypeScript stack trace, pytest failure, go test panic, test failure localization, which file broke, diff since last passing commit, git regression finder, ranked suspect files, redacted bug report, secret scrubbing, GitHub Copilot / Claude / Cursor / Codex debugging, MCP server for debugging, reproducible crash bundle, terminal error capture. |