From 64736c03ab43ccb900420fed0a41815158439fd5 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 1 Mar 2026 00:00:12 +0100 Subject: [PATCH] Add post-rename and delayed diagnostic logging --- web/json_dynamic.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/json_dynamic.js b/web/json_dynamic.js index 0540a22..6a74b1c 100644 --- a/web/json_dynamic.js +++ b/web/json_dynamic.js @@ -204,6 +204,14 @@ app.registerExtension({ } } + // === DIAGNOSTIC (remove after debugging) === + console.log("[JDL-DEBUG] this.outputs AFTER RENAME:", JSON.stringify(this.outputs?.map(o => ({name: o.name, type: o.type})))); + const _node = this; + setTimeout(() => { + console.log("[JDL-DEBUG] this.outputs 1s LATER:", JSON.stringify(_node.outputs?.map(o => ({name: o.name, type: o.type})))); + }, 1000); + // === END DIAGNOSTIC === + this.setSize(this.computeSize()); }; },