mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
script: Remove logging in debugger script (#38475)
#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 <dazabani@igalia.com> Co-authored-by: atbrakhi <atbrakhi@igalia.com>
This commit is contained in:
parent
11844ca5af
commit
ec99e7a8b0
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue