UNPKG

apigee-jsc-debug

Version:

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

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