[OEM-255] added ability to view html generated for pdf for debugging.