MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / launch

Method launch

src/test/debug_client_ms.ts:360–367  ·  view source on GitHub ↗

* Returns a promise that will resolve if a 'initialize' and a 'launch' request were successful.

(launchArgs: any)

Source from the content-addressed store, hash-verified

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) {

Callers 14

hitBreakpointMethod · 0.95
dart_test.test.tsFile · 0.45
runTestsFunction · 0.45
runWithoutDebuggingFunction · 0.45
dart_cli.test.tsFile · 0.45
testBreakpointConditionFunction · 0.45
testBreakpointConditionFunction · 0.45

Calls 2

initializeRequestMethod · 0.95
launchRequestMethod · 0.95

Tested by 4

runTestsFunction · 0.36
runWithoutDebuggingFunction · 0.36
testBreakpointConditionFunction · 0.36
testBreakpointConditionFunction · 0.36