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 useconsole.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.