Firebug is an extension for the Mozilla Firefox browser that allows you to debug and inspect HTML, CSS, the Document Object Model (DOM) and JavaScript.
To install Firebug for Firefox, go to http://www.getfirebug.com (click on Install Firebug). Restart FireFox, and you’re good to go.