diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-10 19:12:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 13:12:59 -0400 |
commit | 1c6602b85b50bc45cbf8cd1422091888e1561cd8 (patch) | |
tree | a31195f3bb0d572f1b34e022482df7d00fa16110 | |
parent | dc4ab98ee732defc4e781ff12137f057a6a249b0 (diff) |
runtime/inspector: pretend to be node (#10115)
Also change frontend URL from inspector.html to js_app.html
-rw-r--r-- | runtime/inspector.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/inspector.rs b/runtime/inspector.rs index 08493c5de..7254091d4 100644 --- a/runtime/inspector.rs +++ b/runtime/inspector.rs @@ -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(), }) @@ -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 ) } |