/third_party/node/test/fixtures/test-runner/ |
D | run_inspect.js | 9 let inspectPort = 'inspectPort' in process.env ? Number(process.env.inspectPort) : undefined; variable 12 if (process.env.inspectPort === 'addTwo') { 13 inspectPort = common.mustCall(() => { return process.debugPort += 2; }); 14 } else if (process.env.inspectPort === 'string') { 15 inspectPort = 'string'; 17 } else if (process.env.inspectPort === 'null') { 18 inspectPort = null; 19 } else if (process.env.inspectPort === 'bignumber') { 20 inspectPort = 1293812; 22 } else if (process.env.inspectPort === 'negativenumber') { [all …]
|
/third_party/node/test/sequential/ |
D | test-inspector-port-cluster.js | 98 clusterSettings: { inspectPort: port + 2 }, property 106 clusterSettings: { inspectPort: 'addTwo' }, property 117 clusterSettings: { inspectPort: 'string' }, property 125 clusterSettings: { inspectPort: 'null' }, property 133 clusterSettings: { inspectPort: 'bignumber' }, property 141 clusterSettings: { inspectPort: 'negativenumber' }, property 149 clusterSettings: { inspectPort: 'bignumberfunc' }, property 157 clusterSettings: { inspectPort: 'strfunc' }, property 165 clusterSettings: { inspectPort: port, execArgv: ['--inspect'] }, property 175 clusterSettings: { inspectPort: 0 }, property [all …]
|
D | test-runner-run-inspect.mjs | 10 async function spawnRunner({ execArgv, expectedPort, expectedHost, expectedInitialPort, inspectPort… field 16 inspectPort, property 87 // These tests check that setting inspectPort in run 94 inspectPort: port + 2, property 102 inspectPort: 'addTwo', property 110 inspectPort: 'string', property 117 inspectPort: 'null', property 125 inspectPort: 'bignumber', property 132 inspectPort: 'negativenumber', property 139 inspectPort: 'bignumberfunc' property [all …]
|
/third_party/node/lib/internal/util/ |
D | inspector.js | 32 function getInspectPort(inspectPort) { argument 33 if (typeof inspectPort === 'function') { 34 inspectPort = inspectPort(); 35 } else if (inspectPort == null) { 36 inspectPort = process.debugPort + debugPortOffset; 37 if (inspectPort > kMaxPort) 38 inspectPort = inspectPort - kMaxPort + kMinPort - 1; 41 validatePort(inspectPort); 43 return inspectPort;
|
/third_party/node/lib/internal/main/ |
D | test_runner.js | 28 let inspectPort; variable 34 inspectPort = process.debugPort; 64 inspectPort, property
|
/third_party/node/test/parallel/ |
D | test-runner-inspect.mjs | 33 …e inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run w… 42 …e inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run w… 56 …e inspector with --test forces running at a concurrency of 1\. Use the inspectPort option to run w…
|
/third_party/node/lib/internal/debugger/ |
D | inspect.js | 76 async function runScript(script, scriptArgs, inspectHost, inspectPort, argument 78 await portIsFree(inspectHost, inspectPort); 79 const args = [`--inspect-brk=${inspectPort}`, script];
|
/third_party/node/lib/internal/test_runner/ |
D | runner.js | 159 function getRunArgs(path, { inspectPort, testNamePatterns, only }) { property 162 ArrayPrototypePush(argv, `--inspect-port=${getInspectPort(inspectPort)}`); 488 const { concurrency, timeout, signal, files, inspectPort, watch, setup, only } = options; 544 const opts = { __proto__: null, root, signal, inspectPort, testNamePatterns, only }; property
|
/third_party/node/lib/internal/cluster/ |
D | primary.js | 122 if (cluster.settings.inspectPort === null) { 126 ArrayPrototypePush(execArgv, `--inspect-port=${getInspectPort(cluster.settings.inspectPort)}`);
|
/third_party/node/doc/api/ |
D | cluster.md | 916 description: The `inspectPort` option is supported now. 942 * `inspectPort` {number|Function} Sets inspector port of worker.
|
D | test.md | 888 * `inspectPort` {number|Function} Sets inspector port of test child process.
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V8.md | 3623 * \[[`7df10f529d`](https://github.com/nodejs/node/commit/7df10f529d)] - **doc**: fix inspectPort do…
|