ASP.Net/Development/Debug Mode
Set debug mode to true
<%-- This page has an error --%>
<%@ Page Language="VB" Debug="true" %>
<script language="VB" runat="server">
Sub CreateRunTimeError
dim intCounter as integer
intCounter = "Test"
response.write ("The value of counter is :" & intCounter)
End sub
</script>
<%
CreateRunTimeError()
%>