Dumping object inside cfscript tag
I’ve been looking for this a few times now, until now i’ve found two interesting options.
One is creating a cffunction of your own, and using it inside a cfscript afterwards:
<CFFUNCTION NAME="MyDump"> <CFARGUMENT NAME="OBJ" Required="TRUE"> <CFDUMP VAR="#Obj#"> </CFFUNCTION>
The other one is using a 100% cfscript approach, which can also be placed in a function of your own:
Also, starting ColdFusion 9, you can use the writeDump function.