MCPcopy Index your code
hub / github.com/nodejs/node / stepOverConsoleStatement

Function stepOverConsoleStatement

test/parallel/test-inspector-break-when-eval.js:61–66  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

59}
60
61async function stepOverConsoleStatement(session) {
62 console.log('[test]', 'Step over console statement and test output');
63 session.send({ 'method': 'Debugger.stepOver' });
64 await session.waitForConsoleOutput('log', [0, 3]);
65 await session.waitForNotification('Debugger.paused');
66}
67
68async function runTests() {
69 // NOTE(mmarchini): Use --inspect-brk to improve avoid indeterministic

Callers 1

runTestsFunction · 0.85

Calls 4

waitForConsoleOutputMethod · 0.80
waitForNotificationMethod · 0.80
sendMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…