|
IsDebugMode
DescriptionDetermines
whether debugging output is enabled.
ReturnsTrue,
if debugging mode is set in the ColdFusion Administrator; False
if debugging mode is disabled.
Function syntaxIsDebugMode()
DescriptionIf
debugging output is enabled in ColdFusion Administrator and has
not been overridden by setting the cfsetting tag showDebugOutput attribute
to No, the IsDebugMode function returns Yes; No,
otherwise.
Example<h3>IsDebugMode Example</h3>
<cfif IsDebugMode()>
<h3>Debugging is set in the ColdFusion Administrator</h3>
<cfelse>
<h3>Debugging is disabled</h3>
</cfif>
|