mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
runtime/inspector: pretend to be node (#10115)
Also change frontend URL from inspector.html to js_app.html
This commit is contained in:
parent
dc4ab98ee7
commit
1c6602b85b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue