How to force Firefox to open error console every time a JavaScript error occurs?

I often overlook some bugs while developing because of that, but let's say I don't want to have Firebug enabled.

link|improve this question

75% accept rate
feedback

2 Answers

You can always open your firefox with the jsconsole enabled by adding

-jsconsole

to the command line.

It's not exactly a "when error" occur, but can save some mouse clicks in the long run

link|improve this answer
feedback

With the webdeveloper addon, go to options -> miscellaneous, there is an option to do exactly that.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.