Claude Camp · Beginner Course

Claude Code Broke My App: A Beginner's Debugging Guide

When a project breaks, the move is not panic. The move is evidence. Collect the facts, ask Claude to investigate first, and keep the fix small.

Course module 2 · debugging without spiraling · Pai, Thailand

Direct answer

If Claude Code breaks your app, do not keep asking it to try random fixes. Stop, save what is working, copy the exact error, and ask Claude to investigate the likely cause before it changes files. Most beginner bugs are small, reversible, and easier than they feel.

Collect the evidence first

The prompt that helps

Something broke. Do not edit files yet. First, investigate and explain what is most likely happening. Here is what I was trying to do: [describe] Here is what I expected: [describe] Here is what happened instead: [describe] Here is the exact error: [paste error] Before making changes: 1. Identify the likely cause. 2. Tell me which files you need to inspect. 3. Explain the safest fix. 4. Then ask for permission to apply the fix.

Common beginner mistakes

Debugging is usually a process problem before it is a technical problem.

When Claude loops

Say it clearly: You already tried that and it did not work. Stop and explain why before trying another fix. If the session keeps looping, ask for a diagnosis first or start a fresh session when the context gets too noisy.

FAQ

Did Claude Code ruin my app?

Probably not. Most breakages are reversible.

Should I paste the whole error?

Yes. Exact wording matters.

Should I let Claude fix everything automatically?

Not at first. Ask it to investigate and explain the likely cause first.

Related guides

At Claude Camp, debugging is part of the rhythm. You get a quiet place, a clear schedule, and enough support to get unstuck without rushing.

Apply for Claude Camp