ColdFusion调试输出在我的Ajax中 [英] ColdFusion debugging output in my Ajax

查看:159
本文介绍了ColdFusion调试输出在我的Ajax中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我关闭启用请求调试输出,在调试输出设置下的第三个选项,然后我不再获得调试信息在我的$ .ajax调用cfc与access =远程。

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">

在我的Index.cfm的顶部,但是没有关闭调试输出来自cfc。

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

等待。没关系。
我不得不放在函数中,而不是在Index.cfm。

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

推荐答案

尝试_cf_nodebug = true在ajax调用远程方法。

Try _cf_nodebug=true in ajax calls to remote methods.

这篇关于ColdFusion调试输出在我的Ajax中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆