1
I am developing a module that pulls in pages ajax-style.
I want the main pages I'm still working on to have deug flags (time, errors, smarty messages etc.) but to be able to "Turn off" these error flags on ajax-inserted questions.
How can I write code to turn off (or perhaps on!) the debug mode on a page by page basis?