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

Method waitForSource

src/test/test.ts:207–211  ·  view source on GitHub ↗
(filter?: string)

Source from the content-addressed store, hash-verified

205 }
206
207 waitForSource(filter?: string): Promise<Dap.LoadedSourceEventParams> {
208 return this.dap.once('loadedSource', event => {
209 return filter === undefined || (event.source.path || '').indexOf(filter) !== -1;
210 });
211 }
212
213 completeUrl(relativePath: string): string {
214 return this._root.completeUrl(relativePath);

Callers 6

breakpointsTest.tsFile · 0.45
doTestFunction · 0.45
sourcesTest.tsFile · 0.45
stacksTest.tsFile · 0.45

Calls 1

onceMethod · 0.65

Tested by

no test coverage detected