jsreport debugging

  • hi,

    when using jsreport-debug from the API, is it possible to have the entire req.data object outputed to the log?

  • Yes. You can for example write a custom script with beforeRender and use console.log(JSON.stringify(req.data)) to write it to the log.

    Or do the same in a template helper and print to the console stringified root context.

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.