Custom debugging in scripting
You can add debugging information anywhere in the script and get the debugging information in the responding service response payload, as well as the console logs when using the responding UI app.
This only applies to preview and test responses. Only the first 100 log entries get returned for each script type.
Function | Description |
---|---|
console.log(q1.get());
|
Gets the value of q1 and adds it to the console log. |
You can add console.log in the script. The logs will be shown as information messages in the browser console window. The logs will be visible as console logs in the Responding UI as well.
Example |
---|
|