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

Function waitForPause

src/test/node/node-runtime.test.ts:28–32  ·  view source on GitHub ↗
(p: ITestHandle)

Source from the content-addressed store, hash-verified

26
27describe('node runtime', () => {
28 async function waitForPause(p: ITestHandle) {
29 const { threadId } = p.log(await p.dap.once('stopped'));
30 await p.logger.logStackTrace(threadId);
31 return p.dap.continue({ threadId });
32 }
33
34 async function evaluate(handle: NodeTestHandle, expression: string) {
35 handle.load();

Callers 1

Calls 4

logStackTraceMethod · 0.80
continueMethod · 0.80
logMethod · 0.65
onceMethod · 0.65

Tested by

no test coverage detected