How to do a cfdump inside a cfscript tag?

前端 未结 7 1739
滥情空心
滥情空心 2021-01-17 07:24

In order to debug I would like to dump certain variables on to my web page. How can I do that from inside a cfscript tag?

I tried the following but it isn\'t working

7条回答
  •  说谎
    说谎 (楼主)
    2021-01-17 08:14

    use writeDump() like how you use writeOutput()

    see writeDump on CF 9 reference

提交回复
热议问题