The new, Fetch version of ColdFusion Debugging (with Flair)

I’ve done a lot of playing around with ColdFusion’s debug and exception templates. As I like to remind people - these templates are all CFML and open source. You can play with them to your hearts content. You should be careful obviously, especially if you modify the exception template. This “play” is what led to the ColdFire project.

Earlier today a reader said they asked Adobe to consider modifying the default debug and exception templates and how they handle queries. Specifically, they wanted to replace the ? for bound parameters with the real values. This makes complex queries with lots of bound parameters much easier to read. I quickly wrote up a mod to the debug template, default.cfm. To use this file, save it in your debug folder and select it from the ColdFusion Administrator. It works the exact same as the classic debugging, except it will attempt to replace bound parameters. Enjoy. I’ll mod the exception template a bit later today given enough free time.

As a reminder - if you use ColdFire, this is baked in as well.

There are two movie references in this title. A free copy of CFWACK Book two to the first person to name them. (With the understanding I have to find time to get to the UPS store, and it may take me a week or so, and with Christmas, you may not get it to January.)<p>Download attached file.</p>

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments