cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code Actions: Debug

Code Actions: Debug

With code actions you can use console.log and console.error to log messages just like you would with node.js.

// User shares an image
console.log('View params', payload.params)
// Something bad
console.error('This is not good', err)

Any errors will show up in the notification bar as well as within the log view of the code editor.

Labels (1)

Code Actions: Debug

With code actions you can use console.log and console.error to log messages just like you would with node.js.

// User shares an image
console.log('View params', payload.params)
// Something bad
console.error('This is not good', err)

Any errors will show up in the notification bar as well as within the log view of the code editor.

Labels (1)
Last Reviewed:
12-24-2021 01:35 PM

Code Actions: Debug

With code actions you can use console.log and console.error to log messages just like you would with node.js.

// User shares an image
console.log('View params', payload.params)
// Something bad
console.error('This is not good', err)

Any errors will show up in the notification bar as well as within the log view of the code editor.

Labels (1)
Version history
Last update:
‎06-17-2021 05:28 AM
Updated by:
Contributors