Better cgi debug mode