By default, compileDebug option is true and invalid output is generated. A "pug_rethrow" function is inserted into the code and it will not parse. Setting "compileDebug: false" is a workaround to get around this problem until it is fixed.