Add debug flag to output generated html