UNPKG

apigee-jsc-debug

Version:

Node module to facilitate local execution and debugging of Apigee JSC callouts.

16 lines (13 loc) 383 B
context = require("apigee-jsc-debug"); var config = { policy: "jsCalculate", traceFile: "./trace-files/trace-1429993197148.xml", traceIndex: "all", debug: true, //all,monitors,inputs,outputs,accesses,monitors results: "monitors,outputs,errors,jshint", onFinish: function() { context.echoJson("response.content"); } }; context.debug(config);