mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
16f8673ec0
commit
ba126e90d9
@ -37,7 +37,7 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
if (msg.payload instanceof Buffer) { msg.payload = "(Buffer) "+msg.payload.toString('hex'); }
|
if (msg.payload instanceof Buffer) { msg.payload = "(Buffer) "+msg.payload.toString('hex'); }
|
||||||
if (this.active) {
|
if (this.active) {
|
||||||
DebugNode.send({id:this.id,name:this.name,topic:msg.topic,msg:msg,_path:msg._path});
|
sendDebug({id:this.id,name:this.name,topic:msg.topic,msg:msg,_path:msg._path});
|
||||||
}
|
}
|
||||||
} else { // debug just the msg.payload
|
} else { // debug just the msg.payload
|
||||||
if (this.console == "true") {
|
if (this.console == "true") {
|
||||||
|
Loading…
Reference in New Issue
Block a user