Javascript: The Missing Manual

Tutorial: Using the Firebug Console
Displaying the number of characters in a <textarea> on both the page and Firebug's console.
Debugging Tutorial
Using Firebug to debug a Javascript file