Had overlooked that you already solved the syntax error yourself ...
BTW If you really want to start debugging (i.e. not just setting the log level to debug), then perhaps this might be an easy way to get started. I wrote that tutorial for a function node, but it also works for any other Node-RED node ...
1 Like