ColdFusion debugging output in my Ajax

Posted by cf_PhillipSenn on Stack Overflow See other posts from Stack Overflow or by cf_PhillipSenn
Published on 2010-04-01T14:18:52Z Indexed on 2010/04/01 14:23 UTC
Read the original article Hit count: 138

Filed under:

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.

© Stack Overflow or respective owner

Related posts about coldfusion