Firehou.se RSS Feed
Two things I love: firefighting and technology

The Firehouse

The Tech Category Filed in the Tech Category:

If you use Firebug and console.log doesn’t work…

Posted by Mike on October 27th, 2008

…you may well be using Google Maps on your site. Apparently, after you call certain Google Maps API functions, the Firebug console doesn’t work, and you will get a ‘Error: console is undefined’ message instead of the desired output. The fix is easy – call console.debug() (or .log etc.) before you make any Google Maps calls, the console will work just fine afterward. Thought I’d post this as it has been driving me nuts for the last hour.

You should follow me on Twitter here.

One Response to “If you use Firebug and console.log doesn’t work…”

  1. comment number 1 by: Mike

    Troll comments deleted.

Join the Discussion! Leave a Reply:

Name

Mail (never published)

Website