Wednesday, January 30, 2008

Debugging Javascript with Firebug in Firefox

Sometimes I can't believe how much time people waste just because they don't use the right tools - often because they've never heard about it, or because they don't know how to use it properly.

Just a few days ago, for the millionth time, a friend of mine was bugging me regarding a javascript bug. Instead of fixing the problem for him, I decided to teach him how to fish*.

As any web developer probably knows, there are a couple of indispensable tools for Firefox: Firebug and Web Developer.

With these tools, debugging javascript or any other "Web" stuff becomes a lot simpler.
Just see for yourself how debugging javascript is using Firebug:

[A Guide to Javascript Debugging using Firebug for Firefox]

These 10 or 15 minute tutorial may very well end up saving you countless hours/days of debugging. Learn to use the tools you have at your disposal.

*Reference to a popular chinese saying: give a starving man a fish, and you'll feed him for one day; teach him to fish and he'll never starve again.
(or something like that)

No comments:

Post a Comment

Related Posts with Thumbnails

Amazon Store