Identifying bugs is an art form, much like finding a needle in a haystack, or a specific type of cheese in a fromage factory.
Approach each problem with a step-by-step process:
Think outside the box, or in our case, the browser window.
Avoid knee-jerk solutions and instead:
Code samples are like bugs in the wild:
Look at them closely, and:
var bug = new Error("Oh no, I'm a bug!");
console.log(bug);
Try to identify the issue, and:
try {
// do something that will throw an error
} catch (err) {
console.error(err);
}
Don't be a rookie, be a ninja:
Use:
And remember, a bug is not something you can just "Google" away.
Want to learn more advanced bug identification techniques?
Join The Bloopers Club, where we'll:
apply for membership