Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Firebug Command-Line API: Not Just Your Weekend Debugger

You may know that Firebug has one of the best interfaces for debugging . What you may not know is it also features a command line and API for heavy-duty debugging.

Firebug is a Firefox extension used by web developers for debugging HTML, CSS, JavaScript and the browser’s DOM.

The command line allows you to enter and execute JavaScript commands straight from the Firebug sidebar. The functions available in the API allows you to maneuver, monitor and investigate web page code in more detail.

Sample API commands include:

  • Generate lists of elements or properties from specified objects
  • Pull XML sources for inspection
  • Execute and monitor a singular JavaScript function

The command line tool is available by hitting Ctrl-Shift-L (or Command-Shift-L on Mac OS). Firebug’s sidebar window opens up with a view of the console window. The console window displays feedback from the commands you enter using the command line at the bottom of the screen.

Post Comment Comments Permalink Print
Reddit Digg