Debug Code

With Cloud code you can use console.log and console.error to log messages.

// User shares an image
console.log('View params', payload.params)