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.