From ec99e7a8b0ca78a90e7d125c226501c9c8f8d6ed Mon Sep 17 00:00:00 2001 From: shuppy Date: Tue, 5 Aug 2025 19:01:35 +0800 Subject: [PATCH] script: Remove logging in debugger script (#38475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #38333 adds new code to the debugger script containing some console.log() calls, which unlike native rust log messages can’t be turned off. this patch removes them for now, until we find a better approach. Testing: no testable changes in this patch Fixes: noisy logging as of #38333 Signed-off-by: Delan Azabani Co-authored-by: atbrakhi --- resources/debugger.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resources/debugger.js b/resources/debugger.js index d0c6198bfd2..e299c1f66ec 100644 --- a/resources/debugger.js +++ b/resources/debugger.js @@ -2,19 +2,13 @@ if (!("dbg" in this)) { dbg = new Debugger; dbg.onNewGlobalObject = function(global) { - console.log("[debugger] onNewGlobalObject"); - console.log(this, global); }; dbg.onNewScript = function(script, global) { - console.log("[debugger] onNewScript"); - console.log(this, script, global); }; } addEventListener("addDebuggee", event => { const {global} = event; - console.log("[debugger] Adding debuggee"); dbg.addDebuggee(global); - console.log("[debugger] getDebuggees().length =", dbg.getDebuggees().length); });