(port, host)
| 301 | } |
| 302 | |
| 303 | async connect(port, host) { |
| 304 | this._port = port; |
| 305 | this._host = host; |
| 306 | const urlPath = await this._discoverWebsocketPath(); |
| 307 | return this._connectWebsocket(urlPath); |
| 308 | } |
| 309 | |
| 310 | async _discoverWebsocketPath() { |
| 311 | const { 0: { webSocketDebuggerUrl } } = await this._fetchJSON('/json'); |
nothing calls this directly
no test coverage detected