I'd like to be able to log error messages from the oneditprepare function, but I'm having some problems figuring out how. Console.log seems to work but I can't find the message, it doesn't show up in the node-red output. What's the best way to do this?
oneditprepare is running in the browser so will be in the browser tools console. If you really need something back on the server side you would need to setup an endpoint in your .js file and post it back via http.