09 / Developer tools

Bug Detection

Project study

A VS Code extension that catches errors as they happen — and either teaches you, or fixes them.

Bug Detection & Fix Tool / Developer tools / 2025

Role
Solo — extension and backend
Status
VS Code extension
Year
2025
Stack
TypeScript / VS Code API / FastAPI / Python / RAG / Vector DB

02 / Overview

An error explained in your editor, the moment it appears.

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.

  1. Capture
  2. Retrieve
  3. Explain
  4. Tutor or fix

Bug Detection & Fix Tool / how the parts connect

03 / The problem

An error message tells you what broke, rarely why.

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.

  1. 01

    Terse messages without the reason behind them

  2. 02

    Leaving the editor to search for answers

  3. 03

    One kind of help for very different needs

04 / How it works

Catch, retrieve, explain or fix — without leaving the editor.

  1. 01

    Capture

    Collect lint errors and runtime exceptions as they happen.

  2. 02

    Retrieve

    Search a vector database for relevant docs and code context.

  3. 03

    Explain

    An LLM reasons over the error and the retrieved context.

  4. 04

    Tutor or fix

    Tutor mode teaches; Debugger mode proposes a change.

05 / Key decisions

Where the important calls were made.

Decision 01

One kind of help, or two?

  1. →

    The choice

    Two modes: Tutor and Debugger.

  2. →

    What it gave

    Beginners learn the cause; experienced users get straight to the fix.

Decision 02

How do answers stay grounded?

  1. →

    The choice

    Retrieval (RAG) before generation.

  2. →

    What it gave

    Explanations are based on real documentation and code, not guesses.

06 / The flow

From the first step to the result.

What it looks like from the side of the person using it — the path through Bug Detection in 4 steps.

  1. 01Write code as usual
  2. 02An error is caught
  3. 03Choose Tutor or Debugger
  4. 04Read the explanation or apply the fix

Bug Detection & Fix Tool / user flow

07 / Outcome

Help that matches the person asking for it.

Tutor and Debugger
2 modes
Both kinds of error captured
Lint + runtime
Grounded explanations
RAG
10 / Next project BlockAuth Decentralised identity on a blockchain, so IoT devices can prove who they are without a central server.