Home
last modified time | relevance | path

Searched refs:inspectPort (Results 1 – 12 of 12) sorted by relevance

/third_party/node/test/fixtures/test-runner/
Drun_inspect.js9 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/
Dtest-inspector-port-cluster.js98 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 …]
Dtest-runner-run-inspect.mjs10 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/
Dinspector.js32 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/
Dtest_runner.js28 let inspectPort; variable
34 inspectPort = process.debugPort;
64 inspectPort, property
/third_party/node/test/parallel/
Dtest-runner-inspect.mjs33 …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/
Dinspect.js76 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/
Drunner.js159 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/
Dprimary.js122 if (cluster.settings.inspectPort === null) {
126 ArrayPrototypePush(execArgv, `--inspect-port=${getInspectPort(cluster.settings.inspectPort)}`);
/third_party/node/doc/api/
Dcluster.md916 description: The `inspectPort` option is supported now.
942 * `inspectPort` {number|Function} Sets inspector port of worker.
Dtest.md888 * `inspectPort` {number|Function} Sets inspector port of test child process.
/third_party/node/doc/changelogs/
DCHANGELOG_V8.md3623 * \[[`7df10f529d`](https://github.com/nodejs/node/commit/7df10f529d)] - **doc**: fix inspectPort do…