8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
internal-api.md
1 parent ae27e2d commit 9947fc1Copy full SHA for 9947fc1
doc/contributing/internal-api.md
@@ -1,33 +1,41 @@
1
-These flags are for Node.js core development usage only. Do not use these flags
2
-in your own applications. These flags are not subjected to semantic versioning
3
-rules. The core developers may remove these flags in any version of Node.js.
+# Node.js Core Development Flags
4
5
-# Internal documentation of Node.js
+These flags are specifically designed for use in Node.js core development and are not intended for general
+application usage.
6
7
-## CLI
+> \[!NOTE]
+> These APIs are not bound by semantic versioning rules, and they can be altered or removed in any version of Node.js
8
+
9
+## Command Line Interface (CLI)
10
11
### Flags
12
13
#### `--debug-arraybuffer-allocations`
14
15
+Enables debugging of `ArrayBuffer` allocations.
16
17
#### `--expose-internals`
18
-Allows to require the `internal/*` modules.
19
+Allows the usage of `internal/*` modules, granting access to internal Node.js functionality.
20
21
#### `--inspect-brk-node[=[host:]port]`
22
-<!-- YAML
-added: v7.6.0
--->
-
23
-Activate inspector on `host:port` and break at start of the first internal
24
-JavaScript script executed when the inspector is available.
25
-Default `host:port` is `127.0.0.1:9229`.
+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`.
26
27
#### `--node-snapshot`
28
29
+Enables the use of Node.js snapshots, potentially improving startup performance.
30
31
#### `--test-udp-no-try-send`
32
33
+Used for testing UDP functionality without attempting to send data.
34
35
#### `--trace-promises`
36
37
+Enables tracing of promises for debugging and performance analysis.
38
39
#### `--verify-base-objects`
40
41
+Allows verification of base objects for debugging purposes.