How to transform JSON body to key=value&key2=value2

In terms of debugging your scripts, you have the Postman Console available to you, where you can use console.log() statements to inspect various parts of the script while it’s being executed.

The sandbox doesn’t have the ability to attach a debugger and step through the lines of code.