-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocol
Description
The webSocketDebuggerUrl returned by v8_inspector in /json HTTP endpoint is invalid, and causes 3rd party clients like VS Code and Sublime to fail connecting to the new CDP endpoint.
In addition then devtoolsFrontendUrl is served without the ?ws= querystring, which is returned by Chrome and Edge.
- Version: v7.0.0-pre
- Platform: OSX
- Subsystem: v8_inspector
Actual response from http://localhost:5858/json:
[{
"description": "node.js instance",
"devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_file/@4604d24a75168768584760ba56d175507941852f/inspector.html",
"faviconUrl": "https://nodejs.org/static/favicon.ico",
"id": "27382",
"title": "./node",
"type": "node",
"webSocketDebuggerUrl": "ws:///node"
}]Expected response:
[{
"description": "node.js instance",
"devtoolsFrontendUrl": "https://chrome-devtools-frontend.appspot.com/serve_file/@4604d24a75168768584760ba56d175507941852f/inspector.html?experiments=true&v8only=true&ws=localhost:5858/node",
"faviconUrl": "https://nodejs.org/static/favicon.ico",
"id": "27382",
"title": "./node",
"type": "node",
"webSocketDebuggerUrl": "ws://localhost:5858/node"
}](CC @ofrobots, @pavelfeldman)
caspervonb
Metadata
Metadata
Assignees
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocol