The preference javascript.options.showInConsole controls whether errors or warnings in chrome code are shown in the Error Console.
booleanfalse (true in debug builds)falsetrue (default)Note: Since the Web Console was introduced in Firefox 4 specifically for debugging content, the default value for this preference has changed to true as of Gecko 2.0.