By the end of this lesson you will know where every kind of extension error shows up, test Job Hunt Helper like a picky user, and keep Git save points so no fix can break what already works.
You need: Job Hunt Helper with Save and Highlight from lesson 3, Git installed · Time: 8 minutes
An extension has several parts, and each part writes its errors in a different place. The Console is the panel in Chrome's DevTools (the developer tools window) where code prints messages and errors.
Four places to look. Pick the one that matches the part that broke. - Popup: open the popup, right-click inside it, choose Inspect, then open the Console tab.
- Content script (our
highlight.js): on the job page pressF12(orCtrl + Shift + I,Cmd + Option + Ion Mac), open Console, click the dropdown that says top and pick Job Hunt Helper. Content script errors do not appear under the Errors button, so this is the place. - Service worker: on
chrome://extensions, click the blue link next to Inspect views. Job Hunt Helper has no service worker, so you will not see one; bigger extensions do. - Errors button: on
chrome://extensions, an Errors button appears on the extension's card when something failed. Click it to read the details; Clear all empties the list after you fix the bug.
Why?Looking in the wrong place is why many beginners say "there is no error". The error is usually there, in the console of the part that broke.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Test like a picky user
- Turn the exact error into a bug report
- Save points with Git
- Recap