diff --git a/lib/debug/server.rb b/lib/debug/server.rb index a67922ac1..7141ce295 100644 --- a/lib/debug/server.rb +++ b/lib/debug/server.rb @@ -410,7 +410,7 @@ def chrome_setup DEBUGGER__.warn <<~EOS With Chrome browser, type the following URL in the address-bar: - devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=#{@local_addr.inspect_sockaddr}/#{@uuid} + devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&noJavaScriptCompletion=true&ws=#{@local_addr.inspect_sockaddr}/#{@uuid} EOS end diff --git a/lib/debug/server_cdp.rb b/lib/debug/server_cdp.rb index 397703aa6..d4e012fe2 100644 --- a/lib/debug/server_cdp.rb +++ b/lib/debug/server_cdp.rb @@ -59,7 +59,7 @@ def setup_chrome addr, uuid ws_client.send sessionId: s_id, id: 5, method: 'Page.navigate', params: { - url: "devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=#{addr}/#{uuid}", + url: "devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&noJavaScriptCompletion=true&ws=#{addr}/#{uuid}", frameId: f_id } when 101