V
Vibe Code Academy
Debugging

Ben's Debugging Pattern

BT

Ben Tossell

Founder, Ben's Bites

Open in YouTube at 0:42:41Timestamp: 0:42:41

Systematic debugging workflow: validate the issue, list all potential causes, go through them systematically, use agent browser to test. Remember: it's always your fault.

When to Use

When debugging complex issuesWhen AI keeps making the same mistakesFor production bugsWhen stuck in a 'fix it' loop

Steps (4)

1

Accept Responsibility

It's always your fault because you can't code. Your job is to figure out how to guide the agent better, not blame the tool.

2

List All Possible Issues

Ask the agent to come up with all ideas of what could be causing the bug. Create a comprehensive list.

3

Systematic Testing

Go through issues one by one. Use agent browser to have the AI test the site as a user, logging exactly what happens.

4

Loop Until Fixed

Keep going through the loop. Create a plan file and progress file so every agent knows where you are. The agent can bang its head against the wall to figure it out.

Tools

Agent BrowserClaude CodeLogging

Related Workflows

Back to all workflows