Phase 5: Building & Coding With AI (No-Code Friendly) · 25 min · ChatGPT, Claude, or any AI coding assistant
Debugging by Pasting Errors
Don't say 'it's not working.' Paste the error. The AI can fix what it can see.
Hiring signal: What changes when you use this: you can debug AI-assisted builds by pasting error messages instead of giving up or starting over — which means you finish builds instead of abandoning them.
What you will learn
- Debug by pasting the actual error message and asking what it means
- Avoid the 'it's not working' trap that gives the AI nothing to work with
- Iterate on fixes: paste error, get fix, test, paste next error
- Know when to start fresh vs when to keep debugging
The Problem
When building with AI, things break. A button doesn't work. A page doesn't load. A feature behaves wrong. Most people's response is to tell the AI "it's not working" or "the button is broken." The AI responds with generic guesses because it has no information to work with.
The fix is simple: paste the error message. The AI can debug what it can see.
The Debugging Pattern
When something breaks:
- Copy the exact error message — from the browser console, the terminal, or wherever it appears
- Paste it to the AI with context — what you were trying to do, what happened instead
- Ask "what does this mean and how do I fix it?"
Bad:
The form isn't working. Can you fix it?
Good:
I tried submitting the contact form and got this error in the browser console:
Uncaught TypeError: Cannot read properties of null (reading 'value')
at handleSubmit (script.js:15)
What does this mean and how do I fix it?
The AI can now tell you exactly what's wrong: the code is trying to read the value of a form field that doesn't exist (probably an ID mismatch). It can give you the specific fix.
Unlock the full lesson
You've read the first 2 sections. The rest of this lesson covers When There's No Error Message, The Debugging Loop, When to Start Fresh, Your Practice Rep — plus a hands-on lab, quiz, and project artifact.
Create a free account to unlock Phase 0 and Phase 1 of every course — no credit card.
Browse all courses · View pricing · DeVenture Academy