but it wasn't working as expected (I've fixed it now - just a path issue)
But I added a console.log line to try and find out where things were going wrong but it didn't appear in the console (or the node-red terminal where I launched nr from)
How do I view/add debugging to an external .js file?