Fuentes
https://stackoverflow.com/a/15359611
@if (HttpContext.Current.IsDebuggingEnabled) { // Means that debug="true" in Web.config }