(
globalContainer: Container,
sessionLauncher: ISessionLauncher<T>,
private readonly host = '127.0.0.1',
)
| 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 |