IsDebugMode( )

Returns TRUE if debugging mode was set via the ColdFusion Administrator and FALSE if debugging mode is disabled.