File: internal-api.md

package info (click to toggle)
nodejs 22.14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 246,928 kB
  • sloc: cpp: 1,582,349; javascript: 582,017; ansic: 82,400; python: 60,561; sh: 4,009; makefile: 2,263; asm: 1,732; pascal: 1,565; perl: 248; lisp: 222; xml: 42
file content (41 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Node.js Core Development Flags

These flags are specifically designed for use in Node.js core development and are not intended for general
application usage.

> \[!NOTE]
> These APIs are not bound by semantic versioning rules, and they can be altered or removed in any version of Node.js

## Command Line Interface (CLI)

### Flags

#### `--debug-arraybuffer-allocations`

Enables debugging of `ArrayBuffer` allocations.

#### `--expose-internals`

Allows the usage of `internal/*` modules, granting access to internal Node.js functionality.

#### `--inspect-brk-node[=[host:]port]`

Pauses execution at the start of Node.js application code, waiting for a debugger to connect on the specified
`host` and `port`. This is useful for debugging application startup issues. If `host` and `port` are not
provided, it defaults to `127.0.0.1:9229`.

#### `--node-snapshot`

Enables the use of Node.js snapshots, potentially improving startup performance.

#### `--test-udp-no-try-send`

Used for testing UDP functionality without attempting to send data.

#### `--trace-promises`

Enables tracing of promises for debugging and performance analysis.

#### `--verify-base-objects`

Allows verification of base objects for debugging purposes.