Gets or sets a boolean that indicates if Sitecore is in debug mode.
True, if Sitecore is in debug mode, otherwise false.
DebugMode is the global controller of all debug activities. It controls such tools as Profiling, Trace, Rendering Borders and Rendering Info. Only if DebugMode is true will these tools be available.
The DebugMode flag also adds further information on the Debug tab in the content area.
The DebugMode flag can be enabled by specifying the "sc_debug=1" argument on the query string. To disable it, specify "sc_debug=0".
The scope of the value is sesion and it is stored in the Session variable "SC_DEBUGMODE".
State Class | Sitecore.Configuration Namespace | DrawRenderingBorders | Profiling | ShowRenderingInfo | Tracing