Sometimes some developers forgot to remove debugger;
in javascript code, and it produce javascript error on IE.
How can you check (like for the console: if(wi
You cannot.
The best solution would be adding a hook to your version control system to prevent code containing debugger;
statements from being committed/pushed.
Asking your devs to search for debugger;
or at least have a careful look at the diff before committing is also a solution - but not as effective as hard-rejecting in the VCS.