Whatever message this page gives is out now! Go check it out!

IsDebugMode

Last update:
May 18, 2026

Description

Determines whether debugging output will be displayed.

Returns

"Yes", if debugging information will be output; otherwise "No".

Category

Syntax

IsDebugMode()

See also

Usage

If debugging output is enabled in ColdFusion Administrator either globally or for the current machine's IP address and has not been overridden by setting the cfsetting tag showDebugOutput attribute to No, the IsDebugMode function returns Yes; No, otherwise.

Example

 
<cfscript>
    CarsArray = ["mustang", "audi", "bmw"];
    for( i=1; i <= arrayLen(CarsArray); i++){
        writeOutput(CarsArray[i] & "<br>");
    }
    result = IsDebugMode();
    writeoutput("Is debugging output enabled: " & result);
</cfscript>
Output
mustang

audi

bmw

Is debugging output enabled: NO

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page