Just got bit by a weird Firebug issue. If you have a variable named "parent", Firebug will choke. The second time you load the page, you will get lots of "console is undefined" errors, and there is nothing for it, but to rename the variable and restart the browser. I still think FB is the best thing since sliced bread.
Thanks to Mike over at the Firebug forum for diagnosing this one: