Skip to content

View exceptions remotely during development

Alan Mervitz edited this page Nov 21, 2017 · 1 revision

The default configuration for exception handling is to only display the details of an exception in the web browser when viewing the website from the local machine the website is hosted on. To see the exception information from a remote server in a development scenario, change the customErrors element's mode from RemoteOnly to Off in the Web.config file. For example,

Original:

<customErrors mode="RemoteOnly" redirectMode="ResponseRewrite">

Updated:

<customErrors mode="Off" redirectMode="ResponseRewrite">

Clone this wiki locally