Change in debugging with CFCs in ColdFusion 9

Just a quick little post here. A reader contacted me a few days ago with an observation about a change to debugging in ColdFusion 9. In earlier versions of ColdFusion, if debugging was turned on and you ran a CFC (for example, making an AJAX call to a CFC method), debugging text was returned along with your result. This was almost always a bad thing as it tended to break AJAX applications. However, this reader actually used the debugging information to check how well their CFC was performing. Also - tools like ColdFire could make use of this data.

Well, in ColdFusion 9, debugging information is always going to be disabled for CFC calls. To be clear, I'm talking about the request to the CFC directly. If you write a CFM that calls the CFC, then debugging information will correctly include any activity within the CFC methods call. (And in fact, this is what the reader is doing to now.)

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