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
HttpContext.IsDebuggingEnabled
https://docs.microsoft.com/en-us/dotnet/api/system.web.httpcontext.isdebuggingenabled