开发者

ColdFusion debugging output in my Ajax

开发者 https://www.devze.com 2022-12-25 14:51 出处:网络
If I turn off \"Enable Request Debugging Output\", the 3rd option under the Debug Output Settings, then I no longer get debug info in my $.ajax call to a cfc with access=\"remote\".

If I turn off "Enable Request Debugging Output", the 3rd option under the Debug Output Settings, then I no longer get debug info in my $.ajax call to a cfc with access="remote".

开发者_如何学编程That's good, but I'd like to keep it turned on for all my other programs and turn it off programatically for this one exception. I put

<cfsetting showdebugoutput="false">

at the top of my Index.cfm, but that didn't turn off the debug output coming from the cfc.

Oh wait. Never mind. I had to put the in the function rather than in Index.cfm.


Try _cf_nodebug=true in ajax calls to remote methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消