From dfa817e9033f6847ab68013b2b3944391fd8469d Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Sun, 22 Oct 2023 21:26:50 +0900 Subject: [PATCH] Add debuggerId field in the RETURN OBJECT of "Debugger.enable --- lib/debug/server_cdp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debug/server_cdp.rb b/lib/debug/server_cdp.rb index ef556febd..397703aa6 100644 --- a/lib/debug/server_cdp.rb +++ b/lib/debug/server_cdp.rb @@ -474,7 +474,7 @@ def process when 'Debugger.getScriptSource' @q_msg << req when 'Debugger.enable' - send_response req + send_response req, debuggerId: rand.to_s @q_msg << req when 'Runtime.enable' send_response req