Over a million developers have joined DZone.

Customize Error Dialog

·

window.onerror = function(mes,file,num){
    alert([
        "file    : " + file,
        "line    : " + num,
        "message : " + mes
    ].join("\n"));
    return true;
}

with XMLHttpRequest 
http://la.ma.la/misc/js/debugscreen/
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}