Contents > CFML Reference > ColdFusion Java CFX Reference > Response interface > writeDebug PreviousNext

writeDebug

Writes text output into the debug stream. This text is displayed to the end-user only if the tag contains the debug attribute (check for this attribute using the Request.debug member function).

Response interface

public void writeDebug(String output)

debug

Parameter

Description

output

The text to output

The following example checks whether the debug attribute is present; if so, it writes a brief debug message:

if ( request.debug() )
{
   response.writeDebug( "debug info" ) ;
} 

Contents > CFML Reference > ColdFusion Java CFX Reference > Response interface > writeDebug PreviousNext

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.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/cfxrea29.htm