During compile time I can do a check like
#if DEBUG Log(\"something\"); #endif
But what would be the preferred to check if debug=\"f
debug=\"f
In some cases, you may need HttpContext.Current.IsDebuggingEnabled (sort of obvious, but nonetheless)
HttpContext.Current.IsDebuggingEnabled