(session, sessionId)
| 172 | await session.waitForDisconnect(); |
| 173 | |
| 174 | async function setupInspector(session, sessionId) { |
| 175 | await session.send({ method: 'NodeRuntime.enable', sessionId }); |
| 176 | await session.waitForNotification('NodeRuntime.waitingForDebugger'); |
| 177 | await session.send({ method: 'Runtime.enable', sessionId }); |
| 178 | await session.send({ method: 'Debugger.enable', sessionId }); |
| 179 | await session.send({ method: 'Runtime.runIfWaitingForDebugger', sessionId }); |
| 180 | } |
| 181 | }); |
no test coverage detected