How do I see Javascript errors on my web page?

Version 2

    This information is provided by Microsoft to see Javascript errors in Pocket IE. A flag in the registry can be set to view any scripting errors. This is off by default.

    By enabling this flag, you will be able to view syntax errors in your JavaScript and errors related to missing objects. Other causes of JavaScript errors are ignored and the script will terminate without an error message.

    To switch on the error messages, add the following registry key to your device:

     [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "ShowScriptErrors"=dword:00000001