- How to customize the Firefox Web Console output
- Web Console improvements, episode 30
- Three years with Mozilla, and counting
- The Browser Console is replacing the Error Console
- Web Console improvements and the new Browser Console
- Web Console changes in new Firefox versions
- BrowserID (Persona) authentication in Ruby on Rails
Article published on: 29 May 2013, 09:21
Today's Firefox Nightly
(May 29, 2013) no longer has the Error Console enabled by default.
It has been replaced by the Browser Console which shows all of the
same errors, warnings and messages as the Error Console and more:
network logging and
window.console API logging from
all content and chrome windows - including extensions! It also has
a better UI, you can filter messages, evaluate JS with chrome
privileges and inspect objects.
If you find missing messages, please file bugs as soon as possible in the "Developer Tools: Console" component. Thank you!
The Browser Console shares the same code with the Web Console. This means you will get all of the improvements we are working on - we are gearing up for a console output UI rewrite.
If you want to enable the Error Console you can change the
devtools.errorconsole.enabled option to
true from about:config.
Pro tip: in your Firefox chrome code (including extensions) you can do:
Cu.import("resource://gre/modules/devtools/Console.jsm"); console.log("hello", yourObject);
The above code will output to the Browser Console if you have it
open - you can inspect objects, print stack traces
console.trace()) and do a bit of timing
Update: these changes should have no impact in Thunderbird, XULRunner or any other applications. Currently the changes are limited to hiding the Error Console menu item from Firefox by default, and the Ctrl/Cmd-Shift-J keyboard shortcut now opens the Browser Console instead of the Error Console.
Send me a comment
Any comments are welcome! No field is required, except the message itself. If you want me to reply, include your email address.
Comments will not be displayed in this page! This form only sends your message to me.