Skip to content

Commit b8f2fdf

Browse files
ono-maxko1
authored andcommitted
CDP: disable JavaScript engine based autocompletion
1 parent dfa817e commit b8f2fdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/debug/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def chrome_setup
410410
DEBUGGER__.warn <<~EOS
411411
With Chrome browser, type the following URL in the address-bar:
412412
413-
devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=#{@local_addr.inspect_sockaddr}/#{@uuid}
413+
devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&noJavaScriptCompletion=true&ws=#{@local_addr.inspect_sockaddr}/#{@uuid}
414414
415415
EOS
416416
end

lib/debug/server_cdp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def setup_chrome addr, uuid
5959
ws_client.send sessionId: s_id, id: 5,
6060
method: 'Page.navigate',
6161
params: {
62-
url: "devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=#{addr}/#{uuid}",
62+
url: "devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&noJavaScriptCompletion=true&ws=#{addr}/#{uuid}",
6363
frameId: f_id
6464
}
6565
when 101

0 commit comments

Comments
 (0)