See the surrounding code, related symbols, tests, and Git history for any error — without leaving VS Code, and without sending your code anywhere.
Features
🐛 Detects JavaScript/TypeScript errors from VS Code's built-in diagnostics
📍 Jumps straight to the error location with surrounding code shown
🔎 Identifies the enclosing function/class and the likely offending expression
🔗 Finds files that import the affected module
🧪 Finds matching test files
🌿 Shows the last Git commit that touched the error line, and whether it changed recently
💡 Plain-language, rule-based suggestions for what to check next
🔐 Runs 100% locally — no API keys, no network calls, no code leaves your machine
Usage
Open a JavaScript or TypeScript file with an error (red squiggle).
Put your cursor on or near the error line.
Run BreadCrumb: Investigate Error at Cursor from the Command Palette, right-click menu, or press Ctrl+Alt+E (Cmd+Alt+E on Mac).
A panel opens beside your editor with the full context.
You can also click the error count in the status bar to jump straight to investigating the nearest error.
Why no AI by default?
The core value — code context, related files, tests, and Git history — doesn't need an AI model, and plenty of developers don't want their source sent to a third-party service just to debug a TypeError. Everything in v0.1 runs locally using VS Code's own language server and the git CLI.
Requirements
VS Code 1.85 or later
git installed and on your PATH (only needed for the Git History section)
Extension Settings
Setting
Default
Description
errorContext.showStatusBarItem
true
Show an error count item in the status bar
errorContext.maxRelatedFiles
5
Maximum number of related files to show
Known Limitations (v0.1)
Related-file detection uses a lightweight text search for import statements rather than a full module graph, so re-exports and path aliases may be missed.
Error classification covers the most common JS/TS runtime and TypeScript errors; less common errors fall back to a generic "Error" category with generic suggestions.