HttpContext.IsDebuggingEnabled Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the current HTTP request is in debug mode.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public bool IsDebuggingEnabled { get; }

Property Value

Type: System.Boolean

true if the request is in debug mode; otherwise, false.

.NET Framework
Available since 1.1
Return to top