MCPcopy Index your code
hub / github.com/nodejs/node / connect

Method connect

lib/internal/debugger/inspect_client.js:303–308  ·  view source on GitHub ↗
(port, host)

Source from the content-addressed store, hash-verified

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');

Callers

nothing calls this directly

Calls 2

_connectWebsocketMethod · 0.95

Tested by

no test coverage detected