Mozilla + Firefox extension development

Wednesday, January 26, 2005

Showing Javascript errors in chrome code

You can get Firefox to show Javascript errors in chrome code by turning on the javascript.options.showInConsole preference. (Which can be done simply by visiting about:config in the browser.)

Another useful preference to turn on is javascript.options.strict, which sends lots of warnings to the console.

(Thanks to Rob Miller for these tips!)