What to do when Node-RED crashes on start

I had a problem with Node-RED to crash immediately on startup. The root cause was my error in a function node code (probably causing memory overflow), which was executed immediately after Node-RED startup. I could not interact with GUI, as the crash did happen immediately after flows did start. To fix this, I did temporarily … Read more

Debugging Node-RED function nodes

Use the following functions in your Node-RED function node code for debugging: node.log() -> message to consolenode.warn() -> message to console & warning to debug panelnode.error() -> message to console & warning to debug panel Example: node.warn([“Debug message, print my variable”, myVar]);