Added ability to debug to psgix.logger