I am a web and iOS developer. On mobile we have famous tools to collect all the exceptions and errors that application thorws.
There's Crashlytics (and others) that with few lines of code to install the sdk, start tracking everything automatically. Then them display the error and useful informations on their website with priority and other stats.
Exists something like that for web applications? Or explicitly for php or js apps?
Thanks ;)