To add a little overkill to this thread, I like to do something similar to the following (please note this code is very trimmed down):
--- in application.cfc: <cffunction name="onRequestEnd"> <cfparam name="URL.debug" default="false" /> <cfsetting showdebugoutput="#URL.debug#" /> </cffunction> Then you can show debug output whenever you want by specifying http://myURL.com?debug=true -- this is especially helpful when using AJAX or other HTTP calls where the debug output may pollute your result set. Jake Pilgrim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273005 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4