The KIRUPA orange logo! A stylized orange made to look like a glass of orange juice! Tutorials Coding Exercises Videos Books

FORUMS

Customize Theme


Color

Background


Done

Debugging JavaScript by Using Breakpoints

by kirupa   |   15 December 2012

No matter how well you write your JavaScript, given its scripty nature, mistakes will happen. The mistakes that you run into will often be subtle. A great time saver when trying to figure out why your JavaScript isn't working is the ability to set breakpoints and step through your code line by line. Firebug makes it very easy for you to do that, and in this video, I show you how.

Hit Play below to get get rolling:

Going Further (or Backwards?)

If you don't want to use breakpoints, you can always fall back to the old methods of using console.log or peppering alert() functions throughout your code.

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰.

SUBSCRIBE NOW

Serving you freshly baked content since 1998!
Killer hosting by (mt) mediatemple

Twitter Youtube Facebook Pinterest Instagram Github