MCPcopy
hub / github.com/microsoft/vscode-js-debug / launchRoot

Method launchRoot

src/vsDebugServer.ts:89–93  ·  view source on GitHub ↗
(deferredConnection: IDeferred<DapConnection>, session: VSDebugSession)

Source from the content-addressed store, hash-verified

87 }
88
89 async launchRoot(deferredConnection: IDeferred<DapConnection>, session: VSDebugSession) {
90 const result = await this.sessionServer.createRootDebugServer(session, debugServerPort ?? 0);
91 result.connectionPromise.then(x => deferredConnection.resolve(x));
92 console.log((result.server.address() as net.AddressInfo).port.toString());
93 }
94
95 public launch(
96 parentSession: Session<VSDebugSession>,

Callers 1

constructorMethod · 0.95

Calls 4

createRootDebugServerMethod · 0.80
resolveMethod · 0.80
logMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected