In plain words
The Console is the DevTools panel where your page's errors appear in red and console.log lines print, so you can see the values at the moment something breaks.
Where you see it
Press Ctrl+Shift+J (Cmd+Option+J on a Mac) to open DevTools on the Console. Each error shows a file and line on the right, such as CartTotal.tsx:12, and clicking it jumps to that spot in the code.
What goes wrong
- Looking for server logs in the browser
console.log in an API route or a Supabase Edge Function prints in the terminal running your app, or in your host's logs. The browser's Console never sees it.
- Chasing the last error instead of the first
One early failure often sets off a cascade of red lines below it. Fix the first one, reload, and see what's left.
- Pasting code a stranger sends you
Code pasted into the Console runs as you, with your login. Chrome may make you type allow pasting first, for exactly this reason.
What to tell your agent
Quick check
Sign in to earn +10 XP for itYour agent added console.log to a Next.js API route, but nothing appears in the browser's Console. Why?