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

Function test

test/sequential/test-debugger-debug-brk.js:13–18  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

11const script = fixtures.path('empty.js');
12
13function test(arg) {
14 const child = spawnSync(process.execPath, ['--inspect', arg, script]);
15 const stderr = child.stderr.toString();
16 assert(stderr.includes('DEP0062'));
17 assert.strictEqual(child.status, 9);
18}
19
20test('--debug-brk');
21test('--debug-brk=5959');

Callers 1

Calls 4

includesMethod · 0.80
spawnSyncFunction · 0.50
assertFunction · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…