(p: ITestHandle, cb?: (threadId: string) => Promise<void>)
| 108 | }); |
| 109 | |
| 110 | export async function waitForPause(p: ITestHandle, cb?: (threadId: string) => Promise<void>) { |
| 111 | const { threadId } = p.log(await p.dap.once('stopped')); |
| 112 | await p.logger.logStackTrace(threadId); |
| 113 | await cb?.(threadId); |
| 114 | return p.dap.continue({ threadId }); |
| 115 | } |
no test coverage detected