do not debug inside an epub
up to date
Merge pull request #722 from tcitworld/dev

do not output debug while generating epub