How to set debug mode all at once instead of per Application

Hi there.
I work extensively with the debug mode in order to mkae sure there are not too many SQL requests done for nothing.
So I was wondering if there was a way to set up the debug mode for all applications at once and disable it the same way?
Doing it one Application after another takes too much time.
Thanks.