Build your own ColdFusion Custom Debugging Template
You can create your own ColdFusion custom debugging template. Build it and drop it into your CF web root WEB-INF/debug folder.
In my case on Windows the folder is C:\ColdFusion10\cfusion\wwwroot\WEB-INF\debug
However, it's not so easy to build your own template! You'll have to use the ColdFusion Service Factory explained in this blog post.
The easiest way to start is to take classic.cfm in the debug folder and experiment.
If you don't believe me, believe Ben Forta! Displaying Query Contents In Debug Output
Why would you want to create your own custom debugging template? In my case, I wanted to create a feature that would log actions from a particular template when accessed only by particular users. It's on a shared development server where debugging is normally not utilized, thus no conflicting debugging usage. I dropped in my custom debugging (logging) template, turned on debugging in the CF Admin and added the appropriate IP addresses of the developers we were logging. There are certainly other ways to skin this cat, for example, we could have dropped in the debug/log template into any directory and added a <cfinclude> in the template we were tracking. But, in my particular case, we didn't want to make any changes to existing code.
Next, I'll go into detail on how I created a Custom Debugging template (logging template) utilizing the ColdFusion Service Factory.