From b6510d66e0b57e7a0c7a9e7c94135385ccfe1b17 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 22 Apr 2017 09:03:52 +0100 Subject: [PATCH] Update debug node to register the settings it uses --- nodes/core/core/58-debug.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nodes/core/core/58-debug.js b/nodes/core/core/58-debug.js index 514ce09e0..6a9501b67 100644 --- a/nodes/core/core/58-debug.js +++ b/nodes/core/core/58-debug.js @@ -74,7 +74,16 @@ module.exports = function(RED) { }); } - RED.nodes.registerType("debug",DebugNode); + RED.nodes.registerType("debug",DebugNode, { + settings: { + debugUseColors: { + value: false, + }, + debugMaxLength: { + value: 1000, + } + } + }); function sendDebug(msg) { if (msg.msg instanceof Error) {