diff --git a/lib/devtools.js b/lib/devtools.js index 5d29963..a0a8b93 100644 --- a/lib/devtools.js +++ b/lib/devtools.js @@ -172,7 +172,7 @@ customElements.define('developer-tooling', class extends HTMLElement { @@ -259,7 +262,7 @@ customElements.define('developer-tooling', class extends HTMLElement { navigator.clipboard.writeText(`devtools://devtools/bundled/js_app.html?experiments=true&v8only=true&ws=127.0.0.1:${this.port}/${sessionId}`) }) div.querySelector('.open-in-chrome').addEventListener('click', () => { - openChrome(`devtools://devtools/bundled/js_app.html?experiments=true&v8only=true&ws=127.0.0.1:${this.port}/${sessionId}`) + openChrome('chrome://inspect') }) div.querySelector('.remove').addEventListener('click', () => { this.apps.delete(sessionId) @@ -276,8 +279,9 @@ customElements.define('developer-tooling', class extends HTMLElement { } if (this.port) { - this.root.querySelector('#server-location').textContent = `http://localhost:${this.port}` this.root.querySelector('#server-message').classList.remove('hidden') + this.root.querySelector('#server-location').textContent = `http://localhost:${this.port}` + this.root.querySelector('#host-location').textContent = `localhost:${this.port}` } }