04 / Dev tools2025
Bug Detection & Fix Tool
✎ catches errors as you type
✎ Tutor mode explains them
✎ Debugger mode fixes them
→ a VS Code extension
- TypeScript
- FastAPI
- RAG
- Vector DB
09 / Developer tools
A VS Code extension that catches errors as they happen — and either teaches you, or fixes them.
Bug Detection & Fix Tool / Developer tools / 2025
02 / Overview
The extension captures both static lint errors and runtime exceptions while you work, then uses LLM-based retrieval (RAG over a vector database) to explain them. You choose how much help you want: Tutor mode explains why the code broke; Debugger mode proposes a fix.
Bug Detection & Fix Tool / how the parts connect
03 / The problem
Learners need the reasoning behind an error to stop repeating it; experienced developers just want the fix. Most tools give the same terse message to both, and copying it into a search engine breaks your flow.
04 / How it works
Collect lint errors and runtime exceptions as they happen.
Search a vector database for relevant docs and code context.
An LLM reasons over the error and the retrieved context.
Tutor mode teaches; Debugger mode proposes a change.
05 / Key decisions
Decision 01
Two modes: Tutor and Debugger.
Beginners learn the cause; experienced users get straight to the fix.
Decision 02
Retrieval (RAG) before generation.
Explanations are based on real documentation and code, not guesses.
06 / The flow
What it looks like from the side of the person using it — the path through Bug Detection in 4 steps.
Bug Detection & Fix Tool / user flow
07 / Outcome