.Net check test if a web application is running in debug mode

By using the following statement:

If(HttpContext.Current.IsDebuggingEnabled){
// do something
}

Leave a Reply

Your email address will not be published. Required fields are marked *