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

Method constructor

src/serverSessionManager.ts:32–40  ·  view source on GitHub ↗
(
    globalContainer: Container,
    sessionLauncher: ISessionLauncher<T>,
    private readonly host = '127.0.0.1',
  )

Source from the content-addressed store, hash-verified

30 private servers = new Map<string, net.Server>();
31
32 constructor(
33 globalContainer: Container,
34 sessionLauncher: ISessionLauncher<T>,
35 private readonly host = '127.0.0.1',
36 ) {
37 this.sessionManager = new SessionManager(globalContainer, sessionLauncher);
38 this.portLeaseTracker = globalContainer.get(IPortLeaseTracker);
39 this.disposables.push(this.sessionManager);
40 }
41
42 /**
43 * Create the appropriate debug server type from the configuration passed in the debug session

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
pushMethod · 0.65

Tested by

no test coverage detected