This is the recommended way to run a parser in debug mode.
Takes a callback and turns debug mode on just for the
callback. This enables trace to capture all sorts
of information about any executed parsers and print them to
console.log. trace tracks counts and times but
they don't actually get reset to zero unless you use this
function to wrap your code.
This is the recommended way to run a parser in debug mode. Takes a callback and turns debug mode on just for the callback. This enables
trace
to capture all sorts of information about any executed parsers and print them to console.log.trace
tracks counts and times but they don't actually get reset to zero unless you use this function to wrap your code.