| Contents > CFML Reference > ColdFusion Java CFX Reference > Request interface > debug |
|
|
|
|
||
Checks whether the tag contains the debug attribute. Use this method to determine whether to write debug information for this request. For more information, see writeDebug.
Returns True if the tag contains the debug attribute; otherwise returns False.
public boolean debug()
The following example checks whether the debug attribute is present, and if so, it writes a brief debug message:
if ( request.debug() )
{
response.writeDebug( "debug info" ) ;
}
|
|
||
| Contents > CFML Reference > ColdFusion Java CFX Reference > Request interface > debug |
|
|
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.