Gets a value that indicates whether the debug versions of client script libraries will be rendered.
Syntax
CSharp
VisualBasic
ManagedCPlusPlus
JSharp
Value
Return Value
true if the current request is executing in debug mode; otherwise, false.
Remarks
The IsDebuggingEnabled property returns false when any one of the following conditions is true:
In the deployment Element (ASP.NET Settings Schema) element of the configuration file, the retail attribute is set to true. This overrides all other settings.
The ScriptMode property is set to Auto or to Inherit, and debugging is not enabled in the <compilation> section of the application-root Web.config file.
The ScriptMode property is set to Release.
noteThe debug attribute of the @ Page directive does not affect ASP.NET AJAX applications. The ScriptManager control uses only the settings in the Web.config file and in its IsDebuggingEnabled and ScriptMode properties to determine whether to render debug scripts.
For more information, see ASP.NET AJAX Debugging and Tracing Overview.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)