* Returns a promise that will resolve if a 'initialize' and a 'launch' request were successful.
(launchArgs: any)
| 358 | * Returns a promise that will resolve if a 'initialize' and a 'launch' request were successful. |
| 359 | */ |
| 360 | public async launch(launchArgs: any): Promise<void> { |
| 361 | await this.initializeRequest().then(response => { |
| 362 | if (response.body && response.body.supportsConfigurationDoneRequest) { |
| 363 | this._supportsConfigurationDoneRequest = true; |
| 364 | } |
| 365 | return this.launchRequest(launchArgs); |
| 366 | }); |
| 367 | } |
| 368 | |
| 369 | private configurationDone(): Promise<DebugProtocol.Response> { |
| 370 | if (this._supportsConfigurationDoneRequest) { |