One plus side to Coldfusion 8 is that there are quite a few tags that can be used to implement AJAX functionality in your interface. One downside to this is that Firebug (everyone's favorite Firefox extension and JavaScript debugging tool) doesn't always pick up errors with the AJAX that is executed with these tags. Following is a guide to setting up Coldfusion's built-in debugger for the CF8 tags that use AJAX.
- You must have access to your Coldfusion Administrator, typically found with the following address: http://<website url>/cfide/administrator (where <website url> is the name of your website's URL).
- Once in your Coldfusion Administrator interface, you must enable the IP Address of the computer you want to view debug output on. You access this by going to: Debugging & Logging > Debugging IP Addresses. Once there, you can either add your current IP Address or manually enter one.
- Next, you must enable the built-in debug window. You do this by going to: Debugging & Logging > Debug Output Settings > Enable AJAX Debug Log Window (make sure this is checked).
- Lastly, go to the page you are trying to debug and pass the variable "cfdebug=1" in the URL.
'Til next time, Bridget
Team Ravenglass