Skip to main content

Debugging with JavaScript

note

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

Not enough? Remember about the response hooks? Since you can write your own JavaScript you can easily write your own debugging code.

Here are a few examples to spark your imagination.

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?