See Complete msg debugging with Node -RED

I am running an application on Bluemix using Node -RED. I added a debug node to output the full msg object, but it is truncated in the debug console. How can I see the complete object?

+5
source share
2 answers

You can get the output sent to the console as well as the debug tab by checking the debug node settings box. The entire object will be sent to the console.

The current debugging tab will always truncate, but there are some plans, perhaps adding a separate debugging window that can display the entire message. Also look in settings.js, as I believe that the character restriction for when to truncate is set there, so if it is too short, you can increase it a little.

EDIT:

I used to skip the bluemix tag. To view the console log, you need to use the cf command to output the output. for example, for an application called node -red you will run the following:

cf logs node-red 
+9
source

Not sure if you can access your settings.js file, but if you do, find the debugMaxLength property and set it to a larger number. It will display more debugging information.

0
source

All Articles