The Node-RED editor outputs the API return value to the debug node for development.If there is a large amount of data, it cannot be displayed in the debug window, and the data will be cut off in the middle.What should I do if I want to see all the data?
bluemix
If you want to view the data instead of displaying it in debug, you can put it in NoSQL DB.Even if you want to parse it later, it would be good if you put it in the DB.
If you just need to look at the data, you can print it out to the console.
First, specify debug tab and console
in the to item in the debug node edit window.If you run cf logs<app name>
on the Cloud Foundry CLI, the debug tab also displays all the information that is omitted.
You can download the Cloud Foundry CLI from the URL below.
https://github.com/cloudfoundry/cli#downloads
If you are using Bluemix, you may be able to download the starter code, but
I think the bluemix-settings.js file contains the following:
var settings=module.exports={
uiPort: process.env.VCAP_APP_PORT||1880,
mqttReconnectTime—15000,
serialReconnectTime: 15000,
debugMaxLength: 1000,
You can change the debug message length by setting the debugMaxLength here to the appropriate value."After the fix, I will deploy it to Bluemix again with ""cf push""
"For additional parameter details, see the following URL:
Personally, I also use Node.log()/console.log().
© 2024 OneMinuteCode. All rights reserved.