有什么办法可以看到节点红色的输出吗?
Any way to see an output in node-red?
我是 node-red 的初学者,我必须继续一个已经开始的项目。
我想做一些 "checkpoint testing" 来查看一些变量中的内容;有什么方法可以打印变量的值(在 javascript 节点中)?那么我们在哪里可以看到输出?
谢谢你,艾蒂安
来自 Node-RED 文档。 http://nodered.org/docs/writing-functions#logging-events
您可以使用 node.log()
。 node.warn()
或 node.error()
从函数节点中的 with 输出信息。
我是 node-red 的初学者,我必须继续一个已经开始的项目。
我想做一些 "checkpoint testing" 来查看一些变量中的内容;有什么方法可以打印变量的值(在 javascript 节点中)?那么我们在哪里可以看到输出?
谢谢你,艾蒂安
来自 Node-RED 文档。 http://nodered.org/docs/writing-functions#logging-events
您可以使用 node.log()
。 node.warn()
或 node.error()
从函数节点中的 with 输出信息。