(inputStream: Readable, outputStream: Writable)
| 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 { |
nothing calls this directly
no test coverage detected