Testing break on error with Chrome
See: http://stackoverflow.com/questions/2233339/javascript-is-there-a-way-to-get-chrome-to-break-on-all-errors
HTML
Look for a JavaScript error happening when this page is loaded, and try to break on it with Chrome.
JavaScript
function doError() {
deb
foo.bar = 42;
}
try {
doError();
} catch (e) {
console.log("Error", e);
}