User Guide
Chapter 2: ColdFusion Functions 393
IsDebugMode
Returns TRUE if debugging mode was set via the ColdFusion Administrator and FALSE
if debugging mode is disabled.
Syntax IsDebugMode()
Examples <!--- This example shows the use of IsDebugMode --->
<HTML>
<HEAD>
<TITLE>
IsDebugMode Example
</TITLE>
</HEAD>
<BODY BGCOLOR=silver>
<H3>IsDebugMode Example</H3>
<CFIF IsDebugMode()>
<H3>Debugging has been set via the ColdFusion Administrator</H3>
<CFELSE>
<H3>Debugging is disabled</H3>
</CFIF>
</BODY>
</HTML>