From 4bfa1d35aec9649338e2fdc52d3b5bc2a4847617 Mon Sep 17 00:00:00 2001 From: ono-max Date: Sun, 18 Sep 2022 22:44:13 +0900 Subject: [PATCH] Update URL example for Chrome in README --- README.md | 4 ++-- misc/README.md.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d65354d46..c948379a0 100644 --- a/README.md +++ b/README.md @@ -438,12 +438,12 @@ $ rdbg target.rb --open=chrome DEBUGGER: Debugger can attach via TCP/IP (127.0.0.1:43633) DEBUGGER: With Chrome browser, type the following URL in the address-bar: - devtools://devtools/bundled/inspector.html?ws=127.0.0.1:43633 + devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef DEBUGGER: wait for debugger connection... ``` -Type `devtools://devtools/bundled/inspector.html?ws=127.0.0.1:43633` in the address-bar on Chrome browser, and you can continue the debugging with chrome browser. +Type `devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef` in the address-bar on Chrome browser, and you can continue the debugging with chrome browser. Also `open chrome` command works like `open vscode`. diff --git a/misc/README.md.erb b/misc/README.md.erb index d62e7f18e..343a2db50 100644 --- a/misc/README.md.erb +++ b/misc/README.md.erb @@ -438,12 +438,12 @@ $ rdbg target.rb --open=chrome DEBUGGER: Debugger can attach via TCP/IP (127.0.0.1:43633) DEBUGGER: With Chrome browser, type the following URL in the address-bar: - devtools://devtools/bundled/inspector.html?ws=127.0.0.1:43633 + devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef DEBUGGER: wait for debugger connection... ``` -Type `devtools://devtools/bundled/inspector.html?ws=127.0.0.1:43633` in the address-bar on Chrome browser, and you can continue the debugging with chrome browser. +Type `devtools://devtools/bundled/inspector.html?v8only=true&panel=sources&ws=127.0.0.1:57231/b32a55cd-2eb5-4c5c-87d8-b3dfc59d80ef` in the address-bar on Chrome browser, and you can continue the debugging with chrome browser. Also `open chrome` command works like `open vscode`.