Pete Freitag Pete Freitag

Customizing Debugging Output

Published on May 30, 2003
By Pete Freitag

In ColdFusion MX you can customize the debugging output by editing or adding files to the wwwroot/WEB-INF/debug directory. I modified the dockable.cfm file so the window with debugging information would not pop up automatically by commenting out line 229. You can also add your own file to the directory and it will show up in the CF administrator as a debugging type.


Nathan adds the following:

I modified the classic debugger a while ago to cfdump the queries. It's proven to be a great addition to my arsenal. Here's how: classic.cfm, line 438, after the line with cfdebug_queries.body, add this:

<cfif CFDEBUG_QUERIES.result[currentrow].recordcount LT 500>
   <cfdump var="#CFDEBUG_QUERIES.result[currentrow]#" label="Results For" />
   Too many results to print

I moved this from the comments section to the post because its much easier to read here.

Customizing Debugging Output was first published on May 30, 2003.

FuseGuard Web App Firewall for ColdFusion

The FuseGuard Web Application Firewall for ColdFusion & CFML is a high performance, customizable engine that blocks various attacks against your ColdFusion applications.

The weekly newsletter for the CFML Community