GRAILS-11137 add features for debugging html -> pdf conversion problems