Ask a Jedi: ColdFusion Debugging

This post is more than 2 years old.

Carl asks:

What actually happens when you turn on debugging in the CF(MX) administrator? Are you telling the debugging service to START COLLECTING debugging data? Or is it ALWAYS collecting that data, and "turning on" debugging is just telling the service to start handing the data off to the debugging template to display, etc?

In other words, turning debugging on in our environment (Solaris) causes substantial performance degradation. Is this degradation caused by the act of collecting debug info, or rendering it out at the bottom of the page (and, thus, StarFish would go a long way to alleviate said degradation)?

So I was pretty sure I knew the answer, but I double checked with my Adobe contacts. When debugging is turned off at the CF Admin, CF is not collecting data. So turning on debugging does both the collection, and the output.

Would Starfish be better on your server? I don't know. I don't think it is the rendering that slows ColdFusion though, but rather the data collection. As a side note, Starfish is definitely not performance-friendly right now. I'd use it with caution (it isn't officially even released yet as it is still less then version 1 :).

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. 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