Javascript error detection - webkit/chrome

226 views Asked by At

I am writing an in-app bug reporting solution for users testing my web app (PHP/jQuery). The ideal solution is simple – user-written short description of a bug and sort of javascript error dump (eg. extended javascript error visible in Chrome's console). So, that's the background, now the question is:

Is there a way to detect javascript errors using the console, or some sort of callbacks? It even doesn't have to be browser independent – could be narrowed to Webkit, or just to Google Chrome. Just any way to check if there was a javascript error and then to include it in the bug report.

1

There are 1 answers

1
cesar_sr91 On

Take a look of this tutorial. It's aboud debugging javascript with Google Chrome.