I have an ASP.NET(4.5) webform application which uses JavaScript.
And I am using IE11. The problem is if there is any error in this javascript(external file) nothing happens.
For example if I rename my file from a.js to b.js application continues running and nothing is showing in the IE.
Or In my code I had:
 <asp:LinkButton runat="server" OnClientClick="OpenWindow('.//Documents//TechnicalSupport.pdf');"  ..... >
And OpenWindow was not defined in the Javascript file so the link button was not working. From user perspective a click on the link did not do anything, no error messages or anything else.
The only way I can see it to press F12 and see what happened(OpenWindow is not defined).
Question  : Is there any way to show the java script errors in the ASP.NET app? In above case I want to at least be able to log error "OpenWindow  is not defined"