Answer by Francis Martens (Exalate) on 24 January 2021
Hi Andrew
To capture the value on the ServiceNow side, just add following statement at the beginning of your incoming script
debug.error("On purpose")
Whenever a new message is received, the incoming sync processor will throw an error.
In the error detail, at the bottom, you can inspect the content of the incoming message