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

Method constructor

src/flatSessionLauncher.ts:60–72  ·  view source on GitHub ↗
(inputStream: Readable, outputStream: Writable)

Source from the content-addressed store, hash-verified

58 private rootTransport: IDapTransport;
59
60 constructor(inputStream: Readable, outputStream: Writable) {
61 this.sessionManager = new SessionManager<VSDebugSession>(
62 this.services,
63 this.buildVSSessionLauncher(),
64 );
65 this.rootTransport = new StreamDapTransport(inputStream, outputStream);
66 this.createSession(undefined, 'rootSession', {
67 type: DebugType.Chrome,
68 name: 'javascript debugger root session',
69 request: 'launch',
70 __pendingTargetId: '',
71 });
72 }
73
74 buildVSSessionLauncher(): ISessionLauncher<VSDebugSession> {
75 return {

Callers

nothing calls this directly

Calls 2

createSessionMethod · 0.95

Tested by

no test coverage detected