views:

45

answers:

2

Chrome does not appear to give any indication that a page has JavaScript errors, unless you open up the JavaScript Console to check.

Is there any way to have an indication that there were errors, and then automatically open the JavaScript Console? Can the JavaScript console be opened from JavaScript?

+2  A: 

I think you cannot open the console directly from your JavaScript code. And as far as I know, only Opera has the option to display the console automatically, right after any error occurs.

rhino
A: 

No. Even calling console.log will not display the console.

Eli Grey