MCPcopy Create free account
hub / github.com/Snapchat/Valdi / waitForPause

Function waitForPause

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 4

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

Tested by

no test coverage detected