Disable Debug Output for Ajax in CakePHP
Wish I had seen this a while ago. The annoying part about ajax with cakephp is that if debug is larger than 0, you get all kinds of extraneous response text which muddles up the programming. This is a good solution to set the debug value on the fly. Thanks Otaqui.com!