Node red multi-line status

Node.warn statements send their output not only to the debug pane but also to the log.
A technique I have used when I have complex diagnostics to follow is to give the function node a name and use node.warn to output the diagnostics. Then in a terminal run
tail -f /var/log/syslog | grep "function name"
The result is that the diagnostics are output to the terminal window and can therefore be watched at leisure, scrolled back over easily, and so on. Debug nodes can also be set to send to the terminal in which case they will appear there too.