Contents > CFML Reference > ColdFusion Functions > IsDebugMode PreviousNext

IsDebugMode

Determines whether debugging output is enabled.

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

Decision functions

IsDebugMode()

cfsetting

If 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; otherwise, No.

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

Contents > CFML Reference > ColdFusion Functions > IsDebugMode PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct129.htm