Skip to main content

Debugging with JavaScript

note

This functionality is only available on paid plans. Check our plans here.

Recall response hooks. Since you can write your own JavaScript you can easily write your own debugging code, for example, you can create conditional breakpoints.

Conditional breakpoint​

if (myCondition === true) {
// stop here for debugging
debugger;
}

return response;

Log data​

console.info('rule matching! ', { url, method });

return responses;


Was this page helpful?