IsDebugMode

Description

Determines the setting of debug mode in ColdFusion Administrator.

If the debugging service is enabled and the showDebugOutput attribute value is Yes, the IsDebugMode() function returns Yes; otherwise, No.

Return value

True, if debugging mode is set in the ColdFusion Administrator; False if debugging mode is disabled.

Category

Decision functions

Syntax

IsDebugMode() 

Example

<h3>IsDebugMode Example</h3>
<cfif IsDebugMode()>
 <h3>Debugging is set in the ColdFusion Administrator</h3>
<cfelse>
 <h3>Debugging is disabled</h3>
</cfif>

Comments