IsDebugMode

Description

Returns TRUE if debugging mode is set in the ColdFusion Administrator; FALSE if debugging mode is disabled.

Category

Decision functions

Syntax

IsDebugMode() 

Example

<!--- 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 in the ColdFusion Administrator</H3>
<cfelse>
 <H3>Debugging is disabled</H3>
</cfif>

</body>
</html>