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

…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.

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

  1. Mike October 29, 2008 at 06:53 #

    Troll comments deleted.

Leave a Reply:

Gravatar Image