(p: ITestHandle, cb?: (threadId: number) => Promise<void>)
| 124 | }); |
| 125 | |
| 126 | export async function waitForPause(p: ITestHandle, cb?: (threadId: number) => Promise<void>) { |
| 127 | const { threadId } = p.log(await p.dap.once('stopped')); |
| 128 | await p.logger.logStackTrace(threadId); |
| 129 | await cb?.(threadId); |
| 130 | return p.dap.continue({ threadId }); |
| 131 | } |
no test coverage detected