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

Method launchAndLoad

src/test/test.ts:582–590  ·  view source on GitHub ↗
(
    content: string,
    options: Partial<AnyChromiumLaunchConfiguration> = {},
  )

Source from the content-addressed store, hash-verified

580 }
581
582 async launchAndLoad(
583 content: string,
584 options: Partial<AnyChromiumLaunchConfiguration> = {},
585 ): Promise<TestP> {
586 const url = 'data:text/html;base64,' + Buffer.from(content).toString('base64');
587 const p = await this._launch(url, options);
588 await p.load();
589 return p;
590 }
591
592 public buildUrl(url: string) {
593 return utils.completeUrl('http://localhost:8001/', url) || url;

Callers 8

completion.test.tsFile · 0.80
breakpointsTest.tsFile · 0.80
consoleAPITest.tsFile · 0.80
variablesTest.tsFile · 0.80
evaluate.tsFile · 0.80
threadsTest.tsFile · 0.80
stacksTest.tsFile · 0.80

Calls 3

_launchMethod · 0.95
loadMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected