New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
A red error shows up in the console and I can't tell if it's my own code or a script I added that's doing it.
What you'll have at the end
A one-line answer: which exact file the error came from, and whether it is yours.
You need
A page open in Chrome with a red console error, where at least one script tag on that page loads a file from a different domain: a CDN, an analytics tag, or a vendor widget.
Not covered
Fixing the bug once you know which function threw it; this only gets you to the correct file, line, and owner, not the code change itself.
Leans on
Checked 21 Aug 2026
Part of the Chrome DevTools cookbook