Skip to content

Commit

Permalink
runtime/inspector: pretend to be node (denoland#10115)
Browse files Browse the repository at this point in the history
Also change frontend URL from inspector.html to js_app.html
  • Loading branch information
AaronO authored Apr 10, 2021
1 parent dc4ab98 commit 1c6602b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl InspectorInfo {
"faviconUrl": "https://deno.land/favicon.ico",
"id": self.uuid.to_string(),
"title": self.get_title(),
"type": "deno",
"type": "node",
// TODO(ry): "url": "file://",
"webSocketDebuggerUrl": self.get_websocket_debugger_url(),
})
Expand All @@ -124,7 +124,7 @@ impl InspectorInfo {

fn get_frontend_url(&self) -> String {
format!(
"devtools://devtools/bundled/inspector.html?v8only=true&ws={}/ws/{}",
"devtools://devtools/bundled/js_app.html?ws={}/ws/{}&experiments=true&v8only=true",
&self.host, &self.uuid
)
}
Expand Down

0 comments on commit 1c6602b

Please sign in to comment.