diff --git a/doc/api/debugger.md b/doc/api/debugger.md index 2821cd605c568e..a82b252a878baa 100644 --- a/doc/api/debugger.md +++ b/doc/api/debugger.md @@ -185,9 +185,8 @@ flag instead of `--inspect`. ```console $ node --inspect index.js -Debugger listening on 127.0.0.1:9229. -To start debugging, open the following URL in Chrome: - chrome-devtools://devtools/bundled/js_app.html?experiments=true&v8only=true&ws=127.0.0.1:9229/dc9010dd-f8b8-4ac5-a510-c1a114ec7d29 +Debugger listening on ws://127.0.0.1:9229/dc9010dd-f8b8-4ac5-a510-c1a114ec7d29 +For help, see: https://nodejs.org/en/docs/inspector ``` (In the example above, the UUID dc9010dd-f8b8-4ac5-a510-c1a114ec7d29 diff --git a/src/inspector_socket_server.cc b/src/inspector_socket_server.cc index 9e27bd30f76871..29e0c128026ed0 100644 --- a/src/inspector_socket_server.cc +++ b/src/inspector_socket_server.cc @@ -373,7 +373,7 @@ void InspectorSocketServer::SendListResponse(InspectorSocket* socket, std::string InspectorSocketServer::GetFrontendURL(bool is_compat, const std::string &formatted_address) { std::ostringstream frontend_url; - frontend_url << "chrome-devtools://devtools/bundled/"; + frontend_url << "devtools://devtools/bundled/"; frontend_url << (is_compat ? "inspector" : "js_app"); frontend_url << ".html?experiments=true&v8only=true&ws="; frontend_url << formatted_address;