Only dump() if the parser is set to debug mode.