Lines Matching +full:enable +full:- +full:ssl +full:- +full:trace
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width">
6 <meta name="nodejs.org:node-version" content="v14.21.2">
7 <title>Command-line options | Node.js v14.21.2 Documentation</title>
13 <body class="alt apidoc" id="api-section-cli">
22 <li><a href="documentation.html" class="nav-documentation">About this documentation</a></li>
23 <li><a href="synopsis.html" class="nav-synopsis">Usage and example</a></li>
27 <li><a href="assert.html" class="nav-assert">Assertion testing</a></li>
28 <li><a href="async_hooks.html" class="nav-async_hooks">Async hooks</a></li>
29 <li><a href="buffer.html" class="nav-buffer">Buffer</a></li>
30 <li><a href="addons.html" class="nav-addons">C++ addons</a></li>
31 <li><a href="n-api.html" class="nav-n-api">C/C++ addons with Node-API</a></li>
32 <li><a href="embedding.html" class="nav-embedding">C++ embedder API</a></li>
33 <li><a href="child_process.html" class="nav-child_process">Child processes</a></li>
34 <li><a href="cluster.html" class="nav-cluster">Cluster</a></li>
35 <li><a href="cli.html" class="nav-cli active">Command-line options</a></li>
36 <li><a href="console.html" class="nav-console">Console</a></li>
37 <li><a href="corepack.html" class="nav-corepack">Corepack</a></li>
38 <li><a href="crypto.html" class="nav-crypto">Crypto</a></li>
39 <li><a href="debugger.html" class="nav-debugger">Debugger</a></li>
40 <li><a href="deprecations.html" class="nav-deprecations">Deprecated APIs</a></li>
41 <li><a href="diagnostics_channel.html" class="nav-diagnostics_channel">Diagnostics Channel</a></li>
42 <li><a href="dns.html" class="nav-dns">DNS</a></li>
43 <li><a href="domain.html" class="nav-domain">Domain</a></li>
44 <li><a href="errors.html" class="nav-errors">Errors</a></li>
45 <li><a href="events.html" class="nav-events">Events</a></li>
46 <li><a href="fs.html" class="nav-fs">File system</a></li>
47 <li><a href="globals.html" class="nav-globals">Globals</a></li>
48 <li><a href="http.html" class="nav-http">HTTP</a></li>
49 <li><a href="http2.html" class="nav-http2">HTTP/2</a></li>
50 <li><a href="https.html" class="nav-https">HTTPS</a></li>
51 <li><a href="inspector.html" class="nav-inspector">Inspector</a></li>
52 <li><a href="intl.html" class="nav-intl">Internationalization</a></li>
53 <li><a href="modules.html" class="nav-modules">Modules: CommonJS modules</a></li>
54 <li><a href="esm.html" class="nav-esm">Modules: ECMAScript modules</a></li>
55 <li><a href="module.html" class="nav-module">Modules: <code>module</code> API</a></li>
56 <li><a href="packages.html" class="nav-packages">Modules: Packages</a></li>
57 <li><a href="net.html" class="nav-net">Net</a></li>
58 <li><a href="os.html" class="nav-os">OS</a></li>
59 <li><a href="path.html" class="nav-path">Path</a></li>
60 <li><a href="perf_hooks.html" class="nav-perf_hooks">Performance hooks</a></li>
61 <li><a href="policy.html" class="nav-policy">Policies</a></li>
62 <li><a href="process.html" class="nav-process">Process</a></li>
63 <li><a href="punycode.html" class="nav-punycode">Punycode</a></li>
64 <li><a href="querystring.html" class="nav-querystring">Query strings</a></li>
65 <li><a href="readline.html" class="nav-readline">Readline</a></li>
66 <li><a href="repl.html" class="nav-repl">REPL</a></li>
67 <li><a href="report.html" class="nav-report">Report</a></li>
68 <li><a href="stream.html" class="nav-stream">Stream</a></li>
69 <li><a href="string_decoder.html" class="nav-string_decoder">String decoder</a></li>
70 <li><a href="timers.html" class="nav-timers">Timers</a></li>
71 <li><a href="tls.html" class="nav-tls">TLS/SSL</a></li>
72 <li><a href="tracing.html" class="nav-tracing">Trace events</a></li>
73 <li><a href="tty.html" class="nav-tty">TTY</a></li>
74 <li><a href="dgram.html" class="nav-dgram">UDP/datagram</a></li>
75 <li><a href="url.html" class="nav-url">URL</a></li>
76 <li><a href="util.html" class="nav-util">Utilities</a></li>
77 <li><a href="v8.html" class="nav-v8">V8</a></li>
78 <li><a href="vm.html" class="nav-vm">VM</a></li>
79 <li><a href="wasi.html" class="nav-wasi">WASI</a></li>
80 <li><a href="worker_threads.html" class="nav-worker_threads">Worker threads</a></li>
81 <li><a href="zlib.html" class="nav-zlib">Zlib</a></li>
85 <li><a href="https://github.com/nodejs/node" class="nav-https-github-com-nodejs-node">Code reposito…
89 <div id="column1" data-id="cli" class="interior">
91 <div class="header-container">
93 …<button class="theme-toggle-btn" id="theme-toggle-btn" title="Toggle dark mode/light mode" aria-la…
94 <svg xmlns="http://www.w3.org/2000/svg" class="icon dark-icon" height="24" width="24">
96 …-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.62-.27 1.29-.42 2-.42 1.6…
97 …<path d="M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2…
99 <svg xmlns="http://www.w3.org/2000/svg" class="icon light-icon" height="24" width="24">
101 …-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.4…
117 <li class="version-picker">
119 …<ol class="version-picker"><li><a href="https://nodejs.org/docs/latest-v19.x/api/cli.html">19.x</a…
120 <li><a href="https://nodejs.org/docs/latest-v18.x/api/cli.html">18.x <b>LTS</b></a></li>
121 <li><a href="https://nodejs.org/docs/latest-v17.x/api/cli.html">17.x</a></li>
122 <li><a href="https://nodejs.org/docs/latest-v16.x/api/cli.html">16.x <b>LTS</b></a></li>
123 <li><a href="https://nodejs.org/docs/latest-v15.x/api/cli.html">15.x</a></li>
124 <li><a href="https://nodejs.org/docs/latest-v14.x/api/cli.html">14.x <b>LTS</b></a></li>
125 <li><a href="https://nodejs.org/docs/latest-v13.x/api/cli.html">13.x</a></li>
126 <li><a href="https://nodejs.org/docs/latest-v12.x/api/cli.html">12.x</a></li>
127 <li><a href="https://nodejs.org/docs/latest-v11.x/api/cli.html">11.x</a></li>
128 <li><a href="https://nodejs.org/docs/latest-v10.x/api/cli.html">10.x</a></li>
129 <li><a href="https://nodejs.org/docs/latest-v9.x/api/cli.html">9.x</a></li>
130 <li><a href="https://nodejs.org/docs/latest-v8.x/api/cli.html">8.x</a></li>
131 <li><a href="https://nodejs.org/docs/latest-v7.x/api/cli.html">7.x</a></li>
132 <li><a href="https://nodejs.org/docs/latest-v6.x/api/cli.html">6.x</a></li>
133 <li><a href="https://nodejs.org/docs/latest-v5.x/api/cli.html">5.x</a></li></ol>
143 <li><a href="#cli_command_line_options">Command-line options</a>
148 <li><a href="#cli"><code>-</code></a></li>
149 <li><a href="#cli_1"><code>--</code></a></li>
150 <li><a href="#cli_abort_on_uncaught_exception"><code>--abort-on-uncaught-exception</code></a></li>
151 <li><a href="#cli_completion_bash"><code>--completion-bash</code></a></li>
152 …lity_1"><a href="#cli_c_condition_conditions_condition"><code>-C=condition</code>, <code>--conditi…
153 <li><span class="stability_1"><a href="#cli_cpu_prof"><code>--cpu-prof</code></a></span></li>
154 <li><span class="stability_1"><a href="#cli_cpu_prof_dir"><code>--cpu-prof-dir</code></a></span></l…
155 <li><span class="stability_1"><a href="#cli_cpu_prof_interval"><code>--cpu-prof-interval</code></a>…
156 <li><span class="stability_1"><a href="#cli_cpu_prof_name"><code>--cpu-prof-name</code></a></span><…
157 <li><a href="#cli_diagnostic_dir_directory"><code>--diagnostic-dir=directory</code></a></li>
158 <li><a href="#cli_disable_proto_mode"><code>--disable-proto=mode</code></a></li>
159 <li><a href="#cli_disallow_code_generation_from_strings"><code>--disallow-code-generation-from-stri…
160 <li><a href="#cli_dns_result_order_order"><code>--dns-result-order=order</code></a></li>
161 <li><a href="#cli_enable_fips"><code>--enable-fips</code></a></li>
162 <li><a href="#cli_enable_source_maps"><code>--enable-source-maps</code></a></li>
163 <li><a href="#cli_experimental_abortcontroller"><code>--experimental-abortcontroller</code></a></li>
164 <li><a href="#cli_experimental_import_meta_resolve"><code>--experimental-import-meta-resolve</code>…
165 <li><a href="#cli_experimental_json_modules"><code>--experimental-json-modules</code></a></li>
166 <li><a href="#cli_experimental_loader_module"><code>--experimental-loader=module</code></a></li>
167 <li><a href="#cli_experimental_modules"><code>--experimental-modules</code></a></li>
168 <li><a href="#cli_experimental_policy"><code>--experimental-policy</code></a></li>
169 <li><a href="#cli_experimental_repl_await"><code>--experimental-repl-await</code></a></li>
170 <li><a href="#cli_experimental_specifier_resolution_mode"><code>--experimental-specifier-resolution…
171 <li><a href="#cli_experimental_vm_modules"><code>--experimental-vm-modules</code></a></li>
172 <li><a href="#cli_experimental_wasi_unstable_preview1"><code>--experimental-wasi-unstable-preview1<…
173 <li><a href="#cli_experimental_wasm_modules"><code>--experimental-wasm-modules</code></a></li>
174 <li><a href="#cli_force_context_aware"><code>--force-context-aware</code></a></li>
175 <li><a href="#cli_force_fips"><code>--force-fips</code></a></li>
176 <li><span class="stability_1"><a href="#cli_frozen_intrinsics"><code>--frozen-intrinsics</code></a>…
177 …_1"><a href="#cli_heapsnapshot_near_heap_limit_max_count"><code>--heapsnapshot-near-heap-limit=max…
178 <li><a href="#cli_heapsnapshot_signal_signal"><code>--heapsnapshot-signal=signal</code></a></li>
179 <li><span class="stability_1"><a href="#cli_heap_prof"><code>--heap-prof</code></a></span></li>
180 <li><span class="stability_1"><a href="#cli_heap_prof_dir"><code>--heap-prof-dir</code></a></span><…
181 <li><span class="stability_1"><a href="#cli_heap_prof_interval"><code>--heap-prof-interval</code></…
182 <li><span class="stability_1"><a href="#cli_heap_prof_name"><code>--heap-prof-name</code></a></span…
183 <li><a href="#cli_icu_data_dir_file"><code>--icu-data-dir=file</code></a></li>
184 <li><a href="#cli_input_type_type"><code>--input-type=type</code></a></li>
185 <li><a href="#cli_inspect_brk_host_port"><code>--inspect-brk[=[host:]port]</code></a></li>
186 <li><a href="#cli_inspect_port_host_port"><code>--inspect-port=[host:]port</code></a></li>
187 <li><a href="#cli_inspect_host_port"><code>--inspect[=[host:]port]</code></a>
192 <li><a href="#cli_inspect_publish_uid_stderr_http"><code>--inspect-publish-uid=stderr,http</code></…
193 <li><a href="#cli_insecure_http_parser"><code>--insecure-http-parser</code></a></li>
194 <li><a href="#cli_jitless"><code>--jitless</code></a></li>
195 <li><a href="#cli_max_http_header_size_size"><code>--max-http-header-size=size</code></a></li>
196 <li><a href="#cli_napi_modules"><code>--napi-modules</code></a></li>
197 <li><a href="#cli_no_addons"><code>--no-addons</code></a></li>
198 <li><a href="#cli_no_deprecation"><code>--no-deprecation</code></a></li>
199 <li><a href="#cli_no_force_async_hooks_checks"><code>--no-force-async-hooks-checks</code></a></li>
200 <li><a href="#cli_no_warnings"><code>--no-warnings</code></a></li>
201 <li><a href="#cli_node_memory_debug"><code>--node-memory-debug</code></a></li>
202 <li><a href="#cli_openssl_config_file"><code>--openssl-config=file</code></a></li>
203 <li><a href="#cli_openssl_shared_config"><code>--openssl-shared-config</code></a></li>
204 <li><a href="#cli_pending_deprecation"><code>--pending-deprecation</code></a></li>
205 <li><span class="stability_1"><a href="#cli_policy_integrity_sri"><code>--policy-integrity=sri</cod…
206 <li><a href="#cli_preserve_symlinks"><code>--preserve-symlinks</code></a></li>
207 <li><a href="#cli_preserve_symlinks_main"><code>--preserve-symlinks-main</code></a></li>
208 <li><a href="#cli_prof"><code>--prof</code></a></li>
209 <li><a href="#cli_prof_process"><code>--prof-process</code></a></li>
210 <li><a href="#cli_redirect_warnings_file"><code>--redirect-warnings=file</code></a></li>
211 <li><a href="#cli_report_compact"><code>--report-compact</code></a></li>
212 …eport_dir_directory_report_directory_directory"><code>--report-dir=directory</code>, <code>report-…
213 <li><a href="#cli_report_filename_filename"><code>--report-filename=filename</code></a></li>
214 <li><a href="#cli_report_on_fatalerror"><code>--report-on-fatalerror</code></a></li>
215 <li><a href="#cli_report_on_signal"><code>--report-on-signal</code></a></li>
216 <li><a href="#cli_report_signal_signal"><code>--report-signal=signal</code></a></li>
217 <li><a href="#cli_report_uncaught_exception"><code>--report-uncaught-exception</code></a></li>
218 <li><a href="#cli_throw_deprecation"><code>--throw-deprecation</code></a></li>
219 <li><a href="#cli_title_title"><code>--title=title</code></a></li>
220 <li><a href="#cli_tls_cipher_list_list"><code>--tls-cipher-list=list</code></a></li>
221 <li><a href="#cli_tls_keylog_file"><code>--tls-keylog=file</code></a></li>
222 <li><a href="#cli_tls_max_v1_2"><code>--tls-max-v1.2</code></a></li>
223 <li><a href="#cli_tls_max_v1_3"><code>--tls-max-v1.3</code></a></li>
224 <li><a href="#cli_tls_min_v1_0"><code>--tls-min-v1.0</code></a></li>
225 <li><a href="#cli_tls_min_v1_1"><code>--tls-min-v1.1</code></a></li>
226 <li><a href="#cli_tls_min_v1_2"><code>--tls-min-v1.2</code></a></li>
227 <li><a href="#cli_tls_min_v1_3"><code>--tls-min-v1.3</code></a></li>
228 <li><a href="#cli_trace_atomics_wait"><code>--trace-atomics-wait</code></a></li>
229 <li><a href="#cli_trace_deprecation"><code>--trace-deprecation</code></a></li>
230 <li><a href="#cli_trace_event_categories"><code>--trace-event-categories</code></a></li>
231 <li><a href="#cli_trace_event_file_pattern"><code>--trace-event-file-pattern</code></a></li>
232 <li><a href="#cli_trace_events_enabled"><code>--trace-events-enabled</code></a></li>
233 <li><a href="#cli_trace_exit"><code>--trace-exit</code></a></li>
234 <li><a href="#cli_trace_sigint"><code>--trace-sigint</code></a></li>
235 <li><a href="#cli_trace_sync_io"><code>--trace-sync-io</code></a></li>
236 <li><a href="#cli_trace_tls"><code>--trace-tls</code></a></li>
237 <li><a href="#cli_trace_uncaught"><code>--trace-uncaught</code></a></li>
238 <li><a href="#cli_trace_warnings"><code>--trace-warnings</code></a></li>
239 <li><a href="#cli_track_heap_objects"><code>--track-heap-objects</code></a></li>
240 <li><a href="#cli_unhandled_rejections_mode"><code>--unhandled-rejections=mode</code></a></li>
241 …li><a href="#cli_use_bundled_ca_use_openssl_ca"><code>--use-bundled-ca</code>, <code>--use-openssl…
242 <li><a href="#cli_use_largepages_mode"><code>--use-largepages=mode</code></a></li>
243 <li><a href="#cli_v8_options"><code>--v8-options</code></a></li>
244 <li><a href="#cli_v8_pool_size_num"><code>--v8-pool-size=num</code></a></li>
245 <li><a href="#cli_zero_fill_buffers"><code>--zero-fill-buffers</code></a></li>
246 <li><a href="#cli_c_check"><code>-c</code>, <code>--check</code></a></li>
247 <li><a href="#cli_e_eval_script"><code>-e</code>, <code>--eval "script"</code></a></li>
248 <li><a href="#cli_h_help"><code>-h</code>, <code>--help</code></a></li>
249 <li><a href="#cli_i_interactive"><code>-i</code>, <code>--interactive</code></a></li>
250 <li><a href="#cli_p_print_script"><code>-p</code>, <code>--print "script"</code></a></li>
251 <li><a href="#cli_r_require_module"><code>-r</code>, <code>--require module</code></a></li>
252 <li><a href="#cli_v_version"><code>-v</code>, <code>--version</code></a></li>
289 <li><a href="#cli_max_old_space_size_size_in_megabytes"><code>--max-old-space-size=SIZE</code> (in …
297 …<h2>Command-line options<span><a class="mark" href="#cli_command_line_options" id="cli_command_lin…
300 <p>Node.js comes with a variety of CLI options. These options expose built-in
304 <p><code>node [options] [V8 options] [script.js | -e "script" | -] [--] [arguments]</code></p>
305 <p><code>node inspect [script.js | -e "script" | <host>:<port>] …</code></p>
306 <p><code>node --v8-options</code></p>
320 dashes (<code>-</code>) or underscores (<code>_</code>). For example, <code>--pending-deprecation</…
321 equivalent to <code>--pending_deprecation</code>.</p>
322 <p>If an option that takes a single value (such as <code>--max-http-header-size</code>) is
326 <h4><code>-</code><span><a class="mark" href="#cli" id="cli">#</a></span></h4>
330 <p>Alias for stdin. Analogous to the use of <code>-</code> in other command-line utilities,
333 <h4><code>--</code><span><a class="mark" href="#cli_1" id="cli_1">#</a></span></h4>
340 <h4><code>--abort-on-uncaught-exception</code><span><a class="mark" href="#cli_abort_on_uncaught_ex…
344 <p>Aborting instead of exiting causes a core file to be generated for post-mortem
349 <h4><code>--completion-bash</code><span><a class="mark" href="#cli_completion_bash" id="cli_complet…
353 <p>Print source-able bash completion script for Node.js.</p>
354 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
355 <span class="hljs-meta">$ </span><span class="language-bash"><span class="hljs-built_in">source</sp…
356 <h4><code>-C=condition</code>, <code>--conditions=condition</code><span><a class="mark" href="#cli_…
360 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
361 <p>Enable experimental support for custom <a href="packages.html#packages_conditional_exports">cond…
367 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
368 <h4><code>--cpu-prof</code><span><a class="mark" href="#cli_cpu_prof" id="cli_cpu_prof">#</a></span…
372 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
375 <p>If <code>--cpu-prof-dir</code> is not specified, the generated profile is placed
377 <p>If <code>--cpu-prof-name</code> is not specified, the generated profile is
379 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
380 <span class="hljs-meta">$ </span><span class="language-bash">ls *.cpuprofile</span>
382 <h4><code>--cpu-prof-dir</code><span><a class="mark" href="#cli_cpu_prof_dir" id="cli_cpu_prof_dir"…
386 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
387 <p>Specify the directory where the CPU profiles generated by <code>--cpu-prof</code> will
390 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
391 <h4><code>--cpu-prof-interval</code><span><a class="mark" href="#cli_cpu_prof_interval" id="cli_cpu…
395 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
397 by <code>--cpu-prof</code>. The default is 1000 microseconds.</p>
398 <h4><code>--cpu-prof-name</code><span><a class="mark" href="#cli_cpu_prof_name" id="cli_cpu_prof_na…
402 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
403 <p>Specify the file name of the CPU profile generated by <code>--cpu-prof</code>.</p>
404 <h4><code>--diagnostic-dir=directory</code><span><a class="mark" href="#cli_diagnostic_dir_director…
409 <li><a href="#cli_cpu_prof_dir">--cpu-prof-dir</a></li>
410 <li><a href="#cli_heap_prof_dir">--heap-prof-dir</a></li>
411 <li><a href="#cli_redirect_warnings_file">--redirect-warnings</a></li>
413 <h4><code>--disable-proto=mode</code><span><a class="mark" href="#cli_disable_proto_mode" id="cli_d…
420 <h4><code>--disallow-code-generation-from-strings</code><span><a class="mark" href="#cli_disallow_c…
424 <p>Make built-in language features like <code>eval</code> and <code>new Function</code> that genera…
427 <h4><code>--dns-result-order=order</code><span><a class="mark" href="#cli_dns_result_order_order" i…
438 priority than <code>--dns-result-order</code>.</p>
439 <h4><code>--enable-fips</code><span><a class="mark" href="#cli_enable_fips" id="cli_enable_fips">#<…
443 <p>Enable FIPS-compliant crypto at startup. (Requires Node.js to be built
444 against FIPS-compatible OpenSSL.)</p>
445 <h4><code>--enable-source-maps</code><span><a class="mark" href="#cli_enable_source_maps" id="cli_e…
457 <p>Enable <a href="https://sourcemaps.info/spec.html">Source Map v3</a> support for stack traces.</…
460 <code>--enable-source-maps</code> enables caching of Source Maps and makes a best
462 <p>Overriding <code>Error.prepareStackTrace</code> prevents <code>--enable-source-maps</code> from
463 modifiying the stack trace.</p>
464 <h4><code>--experimental-abortcontroller</code><span><a class="mark" href="#cli_experimental_abortc…
468 <p>Enable experimental <code>AbortController</code> and <code>AbortSignal</code> support.</p>
469 <h4><code>--experimental-import-meta-resolve</code><span><a class="mark" href="#cli_experimental_im…
473 <p>Enable experimental <code>import.meta.resolve()</code> support.</p>
474 <h4><code>--experimental-json-modules</code><span><a class="mark" href="#cli_experimental_json_modu…
478 <p>Enable experimental JSON support for the ES Module loader.</p>
479 <h4><code>--experimental-loader=module</code><span><a class="mark" href="#cli_experimental_loader_m…
485 <h4><code>--experimental-modules</code><span><a class="mark" href="#cli_experimental_modules" id="c…
489 <p>Enable latest experimental modules features (deprecated).</p>
490 <h4><code>--experimental-policy</code><span><a class="mark" href="#cli_experimental_policy" id="cli…
495 <h4><code>--experimental-repl-await</code><span><a class="mark" href="#cli_experimental_repl_await"…
499 <p>Enable experimental top-level <code>await</code> keyword support in REPL.</p>
500 <h4><code>--experimental-specifier-resolution=mode</code><span><a class="mark" href="#cli_experimen…
510 <h4><code>--experimental-vm-modules</code><span><a class="mark" href="#cli_experimental_vm_modules"…
514 <p>Enable experimental ES Module support in the <code>vm</code> module.</p>
515 <h4><code>--experimental-wasi-unstable-preview1</code><span><a class="mark" href="#cli_experimental…
521 <td><p>changed from <code>--experimental-wasi-unstable-preview0</code> to <code>--experimental-wasi…
527 <p>Enable experimental WebAssembly System Interface (WASI) support.</p>
528 <h4><code>--experimental-wasm-modules</code><span><a class="mark" href="#cli_experimental_wasm_modu…
532 <p>Enable experimental WebAssembly module support.</p>
533 <h4><code>--force-context-aware</code><span><a class="mark" href="#cli_force_context_aware" id="cli…
537 …native addons that are not <a href="addons.html#addons_context_aware_addons">context-aware</a>.</p>
538 <h4><code>--force-fips</code><span><a class="mark" href="#cli_force_fips" id="cli_force_fips">#</a>…
542 <p>Force FIPS-compliant crypto on startup. (Cannot be disabled from script code.)
543 (Same requirements as <code>--enable-fips</code>.)</p>
544 <h4><code>--frozen-intrinsics</code><span><a class="mark" href="#cli_frozen_intrinsics" id="cli_fro…
548 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
549 <p>Enable experimental frozen intrinsics like <code>Array</code> and <code>Object</code>.</p>
553 <p><code>--require</code> runs prior to freezing intrinsics in order to allow polyfills to
555 <h4><code>--heapsnapshot-near-heap-limit=max_count</code><span><a class="mark" href="#cli_heapsnaps…
559 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
561 heap limit. <code>count</code> should be a non-negative integer (in which case
578 …ass="language-console"><span class="hljs-meta">$ </span><span class="language-bash">node --max-old…
583 <--- Last few GCs --->
585 [49580:0x110000000] 4826 ms: Mark-sweep 130.6 (147.8) -> 130.5 (147.8) MB, 27.4 / 0.0 ms (aver…
586 [49580:0x110000000] 4845 ms: Mark-sweep 130.6 (147.8) -> 130.6 (147.8) MB, 18.8 / 0.0 ms (aver…
589 <--- JS stacktrace --->
591 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of m…
593 <h4><code>--heapsnapshot-signal=signal</code><span><a class="mark" href="#cli_heapsnapshot_signal_s…
600 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
601 <span class="hljs-meta">$ </span><span class="language-bash">ps aux</span>
603 node 1 5.5 6.1 787252 247004 ? Ssl 16:43 0:02 node --heapsnapshot-signal=SIGUSR2…
604 <span class="hljs-meta">$ </span><span class="language-bash"><span class="hljs-built_in">kill</span…
605 <span class="hljs-meta">$ </span><span class="language-bash">ls</span>
607 <h4><code>--heap-prof</code><span><a class="mark" href="#cli_heap_prof" id="cli_heap_prof">#</a></s…
611 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
614 <p>If <code>--heap-prof-dir</code> is not specified, the generated profile is placed
616 <p>If <code>--heap-prof-name</code> is not specified, the generated profile is
618 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
619 <span class="hljs-meta">$ </span><span class="language-bash">ls *.heapprofile</span>
621 <h4><code>--heap-prof-dir</code><span><a class="mark" href="#cli_heap_prof_dir" id="cli_heap_prof_d…
625 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
626 <p>Specify the directory where the heap profiles generated by <code>--heap-prof</code> will
629 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
630 <h4><code>--heap-prof-interval</code><span><a class="mark" href="#cli_heap_prof_interval" id="cli_h…
634 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
636 by <code>--heap-prof</code>. The default is 512 * 1024 bytes.</p>
637 <h4><code>--heap-prof-name</code><span><a class="mark" href="#cli_heap_prof_name" id="cli_heap_prof…
641 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
642 <p>Specify the file name of the heap profile generated by <code>--heap-prof</code>.</p>
643 <h4><code>--icu-data-dir=file</code><span><a class="mark" href="#cli_icu_data_dir_file" id="cli_icu…
648 <h4><code>--input-type=type</code><span><a class="mark" href="#cli_input_type_type" id="cli_input_t…
653 module. String input is input via <code>--eval</code>, <code>--print</code>, or <code>STDIN</code>.…
655 <h4><code>--inspect-brk[=[host:]port]</code><span><a class="mark" href="#cli_inspect_brk_host_port"…
661 <h4><code>--inspect-port=[host:]port</code><span><a class="mark" href="#cli_inspect_port_host_port"…
670 <h4><code>--inspect[=[host:]port]</code><span><a class="mark" href="#cli_inspect_host_port" id="cli…
677 tcp port and communicate using the <a href="https://chromedevtools.github.io/devtools-protocol/">Ch…
688 <p><strong>More specifically, <code>--inspect=0.0.0.0</code> is insecure if the port (<code>9229</c…
689 default) is not firewall-protected.</strong></p>
690 <p>See the <a href="https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implicati…
691 <h4><code>--inspect-publish-uid=stderr,http</code><span><a class="mark" href="#cli_inspect_publish_…
695 <h4><code>--insecure-http-parser</code><span><a class="mark" href="#cli_insecure_http_parser" id="c…
700 interoperability with non-conformant HTTP implementations. It may also allow
703 <h4><code>--jitless</code><span><a class="mark" href="#cli_jitless" id="cli_jitless">#</a></span></…
711 disappear in a non-semver-major release.</p>
712 <h4><code>--max-http-header-size=size</code><span><a class="mark" href="#cli_max_http_header_size_s…
725 <h4><code>--napi-modules</code><span><a class="mark" href="#cli_napi_modules" id="cli_napi_modules"…
729 <p>This option is a no-op. It is kept for compatibility.</p>
730 <h4><code>--no-addons</code><span><a class="mark" href="#cli_no_addons" id="cli_no_addons">#</a></s…
734 <p>Disable the <code>node-addons</code> exports condition as well as disable loading
735 native addons. When <code>--no-addons</code> is specified, calling <code>process.dlopen</code> or
737 <h4><code>--no-deprecation</code><span><a class="mark" href="#cli_no_deprecation" id="cli_no_deprec…
742 <h4><code>--no-force-async-hooks-checks</code><span><a class="mark" href="#cli_no_force_async_hooks…
748 <h4><code>--no-warnings</code><span><a class="mark" href="#cli_no_warnings" id="cli_no_warnings">#<…
753 <h4><code>--node-memory-debug</code><span><a class="mark" href="#cli_node_memory_debug" id="cli_nod…
757 <p>Enable extra debug checks for memory leaks in Node.js internals. This is
759 <h4><code>--openssl-config=file</code><span><a class="mark" href="#cli_openssl_config_file" id="cli…
764 used to enable FIPS-compliant crypto if Node.js is built
765 against FIPS-enabled OpenSSL.</p>
766 <h4><code>--openssl-shared-config</code><span><a class="mark" href="#cli_openssl_shared_config" id=…
770 <p>Enable OpenSSL default configuration section, <code>openssl_conf</code> to be read from
773 <code>OPENSSL_CONF</code>, or by using the command line option <code>--openssl-config</code>.
778 <h4><code>--pending-deprecation</code><span><a class="mark" href="#cli_pending_deprecation" id="cli…
785 unless either the <code>--pending-deprecation</code> command-line flag, or the
789 <h4><code>--policy-integrity=sri</code><span><a class="mark" href="#cli_policy_integrity_sri" id="c…
793 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
795 the specified integrity. It expects a <a href="https://developer.mozilla.org/en-US/docs/Web/Securit…
797 <h4><code>--preserve-symlinks</code><span><a class="mark" href="#cli_preserve_symlinks" id="cli_pre…
804 to a different on-disk location, Node.js will dereference the link and use the
805 actual on-disk "real path" of the module as both an identifier and as a root
810 <pre><code class="language-text">{appDir}
814 │ ├── moduleA -> {appDir}/moduleA
821 <p>The <code>--preserve-symlinks</code> command-line flag instructs Node.js to use the
824 <p>Note, however, that using <code>--preserve-symlinks</code> can have other side effects.
829 <p>The <code>--preserve-symlinks</code> flag does not apply to the main module, which allows
830 <code>node --preserve-symlinks node_module/.bin/<foo></code> to work. To apply the same
831 behavior for the main module, also use <code>--preserve-symlinks-main</code>.</p>
832 <h4><code>--preserve-symlinks-main</code><span><a class="mark" href="#cli_preserve_symlinks_main" i…
838 <p>This flag exists so that the main module can be opted-in to the same behavior
839 that <code>--preserve-symlinks</code> gives to all other imports; they are separate flags,
841 <p><code>--preserve-symlinks-main</code> does not imply <code>--preserve-symlinks</code>; use
842 <code>--preserve-symlinks-main</code> in addition to
843 <code>--preserve-symlinks</code> when it is not desirable to follow symlinks before
845 <p>See <code>--preserve-symlinks</code> for more information.</p>
846 <h4><code>--prof</code><span><a class="mark" href="#cli_prof" id="cli_prof">#</a></span></h4>
851 <h4><code>--prof-process</code><span><a class="mark" href="#cli_prof_process" id="cli_prof_process"…
855 <p>Process V8 profiler output generated using the V8 option <code>--prof</code>.</p>
856 <h4><code>--redirect-warnings=file</code><span><a class="mark" href="#cli_redirect_warnings_file" i…
866 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
867 <h4><code>--report-compact</code><span><a class="mark" href="#cli_report_compact" id="cli_report_co…
871 <p>Write reports in a compact format, single-line JSON, more easily consumable
872 by log processing systems than the default multi-line format designed for
874 <h4><code>--report-dir=directory</code>, <code>report-directory=directory</code><span><a class="mar…
882 <td><p>Changed from <code>--diagnostic-report-directory</code> to <code>--report-directory</code>.<…
889 <h4><code>--report-filename=filename</code><span><a class="mark" href="#cli_report_filename_filenam…
897 <td><p>changed from <code>--diagnostic-report-filename</code> to <code>--report-filename</code>.</p…
904 <h4><code>--report-on-fatalerror</code><span><a class="mark" href="#cli_report_on_fatalerror" id="c…
912 <td><p>changed from <code>--diagnostic-report-on-fatalerror</code> to <code>--report-on-fatalerror<…
923 <h4><code>--report-on-signal</code><span><a class="mark" href="#cli_report_on_signal" id="cli_repor…
931 <td><p>changed from <code>--diagnostic-report-on-signal</code> to <code>--report-on-signal</code>.<…
939 specified through <code>--report-signal</code>.</p>
940 <h4><code>--report-signal=signal</code><span><a class="mark" href="#cli_report_signal_signal" id="c…
948 <td><p>changed from <code>--diagnostic-report-signal</code> to <code>--report-signal</code>.</p></t…
956 <h4><code>--report-uncaught-exception</code><span><a class="mark" href="#cli_report_uncaught_except…
964 <td><p>changed from <code>--diagnostic-report-uncaught-exception</code> to <code>--report-uncaught-…
973 <h4><code>--throw-deprecation</code><span><a class="mark" href="#cli_throw_deprecation" id="cli_thr…
978 <h4><code>--title=title</code><span><a class="mark" href="#cli_title_title" id="cli_title_title">#<…
983 <h4><code>--tls-cipher-list=list</code><span><a class="mark" href="#cli_tls_cipher_list_list" id="c…
989 <h4><code>--tls-keylog=file</code><span><a class="mark" href="#cli_tls_keylog_file" id="cli_tls_key…
996 <h4><code>--tls-max-v1.2</code><span><a class="mark" href="#cli_tls_max_v1_2" id="cli_tls_max_v1_2"…
1002 <h4><code>--tls-max-v1.3</code><span><a class="mark" href="#cli_tls_max_v1_3" id="cli_tls_max_v1_3"…
1006 …s_default_max_version"><code>tls.DEFAULT_MAX_VERSION</code></a> to 'TLSv1.3'. Use to enable support
1008 <h4><code>--tls-min-v1.0</code><span><a class="mark" href="#cli_tls_min_v1_0" id="cli_tls_min_v1_0"…
1014 <h4><code>--tls-min-v1.1</code><span><a class="mark" href="#cli_tls_min_v1_1" id="cli_tls_min_v1_1"…
1020 <h4><code>--tls-min-v1.2</code><span><a class="mark" href="#cli_tls_min_v1_2" id="cli_tls_min_v1_2"…
1027 <h4><code>--tls-min-v1.3</code><span><a class="mark" href="#cli_tls_min_v1_3" id="cli_tls_min_v1_3"…
1033 <h4><code>--trace-atomics-wait</code><span><a class="mark" href="#cli_trace_atomics_wait" id="cli_t…
1037 <p>Print short summaries of calls to <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScri…
1039 <pre><code class="language-text">(node:15701) [Thread 0] Atomics.wait(&lt;address> + 0, 1, inf…
1044 (node:15701) [Thread 1] Atomics.wait(&lt;address> + 4, -1, inf) started
1046 (node:15701) [Thread 1] Atomics.wait(&lt;address> + 4, -1, inf) was woken up by another thread…
1055 <h4><code>--trace-deprecation</code><span><a class="mark" href="#cli_trace_deprecation" id="cli_tra…
1060 <h4><code>--trace-event-categories</code><span><a class="mark" href="#cli_trace_event_categories" i…
1064 <p>A comma separated list of categories that should be traced when trace event
1065 tracing is enabled using <code>--trace-events-enabled</code>.</p>
1066 <h4><code>--trace-event-file-pattern</code><span><a class="mark" href="#cli_trace_event_file_patter…
1070 <p>Template string specifying the filepath for the trace event data, it
1072 <h4><code>--trace-events-enabled</code><span><a class="mark" href="#cli_trace_events_enabled" id="c…
1076 <p>Enables the collection of trace event tracing information.</p>
1077 <h4><code>--trace-exit</code><span><a class="mark" href="#cli_trace_exit" id="cli_trace_exit">#</a>…
1081 <p>Prints a stack trace whenever an environment is exited proactively,
1083 <h4><code>--trace-sigint</code><span><a class="mark" href="#cli_trace_sigint" id="cli_trace_sigint"…
1087 <p>Prints a stack trace on SIGINT.</p>
1088 <h4><code>--trace-sync-io</code><span><a class="mark" href="#cli_trace_sync_io" id="cli_trace_sync_…
1092 <p>Prints a stack trace whenever synchronous I/O is detected after the first turn
1094 <h4><code>--trace-tls</code><span><a class="mark" href="#cli_trace_tls" id="cli_trace_tls">#</a></s…
1098 <p>Prints TLS packet trace information to <code>stderr</code>. This can be used to debug TLS
1100 <h4><code>--trace-uncaught</code><span><a class="mark" href="#cli_trace_uncaught" id="cli_trace_unc…
1104 <p>Print stack traces for uncaught exceptions; usually, the stack trace associated
1106 print the stack trace associated with throwing the value (which does not need
1109 <h4><code>--trace-warnings</code><span><a class="mark" href="#cli_trace_warnings" id="cli_trace_war…
1114 <h4><code>--track-heap-objects</code><span><a class="mark" href="#cli_track_heap_objects" id="cli_t…
1119 <h4><code>--unhandled-rejections=mode</code><span><a class="mark" href="#cli_unhandled_rejections_m…
1134 <li><code>warn-with-error-code</code>: Emit <a href="process.html#process_event_unhandledrejection"…
1138 <h4><code>--use-bundled-ca</code>, <code>--use-openssl-ca</code><span><a class="mark" href="#cli_us…
1144 at build-time.</p>
1153 <h4><code>--use-largepages=mode</code><span><a class="mark" href="#cli_use_largepages_mode" id="cli…
1157 <p>Re-map the Node.js static code to large memory pages at startup. If supported on
1168 <h4><code>--v8-options</code><span><a class="mark" href="#cli_v8_options" id="cli_v8_options">#</a>…
1172 <p>Print V8 command-line options.</p>
1173 <h4><code>--v8-pool-size=num</code><span><a class="mark" href="#cli_v8_pool_size_num" id="cli_v8_po…
1182 <h4><code>--zero-fill-buffers</code><span><a class="mark" href="#cli_zero_fill_buffers" id="cli_zer…
1186 <p>Automatically zero-fills all newly allocated <a href="buffer.html#buffer_class_buffer"><code>Buf…
1188 <h4><code>-c</code>, <code>--check</code><span><a class="mark" href="#cli_c_check" id="cli_c_check"…
1194 <td><p>The <code>--require</code> option is now supported when checking a file.</p></td></tr>
1201 <h4><code>-e</code>, <code>--eval "script"</code><span><a class="mark" href="#cli_e_eval_script" id…
1207 <td><p>Built-in libraries are now available as predefined variables.</p></td></tr>
1218 <h4><code>-h</code>, <code>--help</code><span><a class="mark" href="#cli_h_help" id="cli_h_help">#<…
1222 <p>Print node command-line options.
1224 <h4><code>-i</code>, <code>--interactive</code><span><a class="mark" href="#cli_i_interactive" id="…
1229 <h4><code>-p</code>, <code>--print "script"</code><span><a class="mark" href="#cli_p_print_script" …
1235 <td><p>Built-in libraries are now available as predefined variables.</p></td></tr>
1241 <p>Identical to <code>-e</code> but prints the result.</p>
1242 <h4><code>-r</code>, <code>--require module</code><span><a class="mark" href="#cli_r_require_module…
1250 ES6 Module using <code>--require</code> will fail with an error.</p>
1251 <h4><code>-v</code>, <code>--version</code><span><a class="mark" href="#cli_v_version" id="cli_v_ve…
1259 enable ANSI colorized output. The value may be:</p>
1261 <li><code>1</code>, <code>true</code>, or the empty string <code>''</code> indicate 16-color suppor…
1262 <li><code>2</code> to indicate 256-color support, or</li>
1263 <li><code>3</code> to indicate 16 million-color support.</li>
1272 <p><code>','</code>-separated list of core modules that should print debug information.</p>
1274 <p><code>','</code>-separated list of core C++ modules that should print debug information.</p>
1300 <p>Data path for ICU (<code>Intl</code> object) data. Will extend linked-in data when compiled
1301 with small-icu support.</p>
1311 <p>A space-separated list of command-line options. <code>options...</code> are interpreted
1312 before command-line options, so command-line options will override or
1314 an option that is not allowed in the environment is used, such as <code>-p</code> or a
1317 <pre><code class="language-bash">NODE_OPTIONS=<span class="hljs-string">'--require "./my path/file.…
1318 <p>A singleton flag passed as a command-line option will override the same flag
1320 <pre><code class="language-bash"><span class="hljs-comment"># The inspector will be available on po…
1321 NODE_OPTIONS=<span class="hljs-string">'--inspect=localhost:4444'</span> node --inspect=localhost:5…
1323 <code>NODE_OPTIONS</code> instances were passed first, and then its command-line
1325 …e><code class="language-bash">NODE_OPTIONS=<span class="hljs-string">'--require "./a.js"'</span> n…
1326 <span class="hljs-comment"># is equivalent to:</span>
1327 node --require <span class="hljs-string">"./a.js"</span> --require <span class="hljs-string">"./b.j…
1329 <!-- node-options-node start -->
1331 <li><code>--conditions</code>, <code>-C</code></li>
1332 <li><code>--diagnostic-dir</code></li>
1333 <li><code>--disable-proto</code></li>
1334 <li><code>--dns-result-order</code></li>
1335 <li><code>--enable-fips</code></li>
1336 <li><code>--enable-source-maps</code></li>
1337 <li><code>--experimental-abortcontroller</code></li>
1338 <li><code>--experimental-import-meta-resolve</code></li>
1339 <li><code>--experimental-json-modules</code></li>
1340 <li><code>--experimental-loader</code></li>
1341 <li><code>--experimental-modules</code></li>
1342 <li><code>--experimental-policy</code></li>
1343 <li><code>--experimental-repl-await</code></li>
1344 <li><code>--experimental-specifier-resolution</code></li>
1345 <li><code>--experimental-top-level-await</code></li>
1346 <li><code>--experimental-vm-modules</code></li>
1347 <li><code>--experimental-wasi-unstable-preview1</code></li>
1348 <li><code>--experimental-wasm-modules</code></li>
1349 <li><code>--force-context-aware</code></li>
1350 <li><code>--force-fips</code></li>
1351 <li><code>--frozen-intrinsics</code></li>
1352 <li><code>--heapsnapshot-near-heap-limit</code></li>
1353 <li><code>--heapsnapshot-signal</code></li>
1354 <li><code>--http-parser</code></li>
1355 <li><code>--icu-data-dir</code></li>
1356 <li><code>--input-type</code></li>
1357 <li><code>--insecure-http-parser</code></li>
1358 <li><code>--inspect-brk</code></li>
1359 <li><code>--inspect-port</code>, <code>--debug-port</code></li>
1360 <li><code>--inspect-publish-uid</code></li>
1361 <li><code>--inspect</code></li>
1362 <li><code>--max-http-header-size</code></li>
1363 <li><code>--napi-modules</code></li>
1364 <li><code>--no-addons</code></li>
1365 <li><code>--no-deprecation</code></li>
1366 <li><code>--no-force-async-hooks-checks</code></li>
1367 <li><code>--no-warnings</code></li>
1368 <li><code>--node-memory-debug</code></li>
1369 <li><code>--openssl-config</code></li>
1370 <li><code>--openssl-shared-config</code></li>
1371 <li><code>--pending-deprecation</code></li>
1372 <li><code>--policy-integrity</code></li>
1373 <li><code>--preserve-symlinks-main</code></li>
1374 <li><code>--preserve-symlinks</code></li>
1375 <li><code>--prof-process</code></li>
1376 <li><code>--redirect-warnings</code></li>
1377 <li><code>--report-compact</code></li>
1378 <li><code>--report-dir</code>, <code>--report-directory</code></li>
1379 <li><code>--report-filename</code></li>
1380 <li><code>--report-on-fatalerror</code></li>
1381 <li><code>--report-on-signal</code></li>
1382 <li><code>--report-signal</code></li>
1383 <li><code>--report-uncaught-exception</code></li>
1384 <li><code>--require</code>, <code>-r</code></li>
1385 <li><code>--throw-deprecation</code></li>
1386 <li><code>--title</code></li>
1387 <li><code>--tls-cipher-list</code></li>
1388 <li><code>--tls-keylog</code></li>
1389 <li><code>--tls-max-v1.2</code></li>
1390 <li><code>--tls-max-v1.3</code></li>
1391 <li><code>--tls-min-v1.0</code></li>
1392 <li><code>--tls-min-v1.1</code></li>
1393 <li><code>--tls-min-v1.2</code></li>
1394 <li><code>--tls-min-v1.3</code></li>
1395 <li><code>--trace-atomics-wait</code></li>
1396 <li><code>--trace-deprecation</code></li>
1397 <li><code>--trace-event-categories</code></li>
1398 <li><code>--trace-event-file-pattern</code></li>
1399 <li><code>--trace-events-enabled</code></li>
1400 <li><code>--trace-exit</code></li>
1401 <li><code>--trace-sigint</code></li>
1402 <li><code>--trace-sync-io</code></li>
1403 <li><code>--trace-tls</code></li>
1404 <li><code>--trace-uncaught</code></li>
1405 <li><code>--trace-warnings</code></li>
1406 <li><code>--track-heap-objects</code></li>
1407 <li><code>--unhandled-rejections</code></li>
1408 <li><code>--use-bundled-ca</code></li>
1409 <li><code>--use-largepages</code></li>
1410 <li><code>--use-openssl-ca</code></li>
1411 <li><code>--v8-pool-size</code></li>
1412 <li><code>--zero-fill-buffers</code></li>
1414 <!-- node-options-node end -->
1416 <!-- node-options-v8 start -->
1418 <li><code>--abort-on-uncaught-exception</code></li>
1419 <li><code>--disallow-code-generation-from-strings</code></li>
1420 <li><code>--huge-max-old-generation-size</code></li>
1421 <li><code>--interpreted-frames-native-stack</code></li>
1422 <li><code>--jitless</code></li>
1423 <li><code>--max-old-space-size</code></li>
1424 <li><code>--perf-basic-prof-only-functions</code></li>
1425 <li><code>--perf-basic-prof</code></li>
1426 <li><code>--perf-prof-unwinding-info</code></li>
1427 <li><code>--perf-prof</code></li>
1428 <li><code>--stack-trace-limit</code></li>
1430 <!-- node-options-v8 end -->
1431 <p><code>--perf-basic-prof-only-functions</code>, <code>--perf-basic-prof</code>,
1432 <code>--perf-prof-unwinding-info</code>, and <code>--perf-prof</code> are only available on Linux.<…
1437 <p><code>':'</code>-separated list of directories prefixed to the module search path.</p>
1438 <p>On Windows, this is a <code>';'</code>-separated list instead.</p>
1446 unless either the <code>--pending-deprecation</code> command-line flag, or the
1467 equivalent to using the <code>--redirect-warnings=file</code> command-line flag.</p>
1479 <p>Path to a Node.js module which will be loaded in place of the built-in REPL.
1480 Overriding this value to an empty string (<code>''</code>) will use the built-in REPL.</p>
1493 …gin outputting <a href="https://v8project.blogspot.com/2017/12/javascript-code-coverage.html">V8 J…
1501 …//chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage">ScriptCoverage</a> …
1503 <pre><code class="language-json"><span class="hljs-punctuation">{</span>
1504 …<span class="hljs-attr">"result"</span><span class="hljs-punctuation">:</span> <span class="hljs-p…
1505 <span class="hljs-punctuation">{</span>
1506 …<span class="hljs-attr">"scriptId"</span><span class="hljs-punctuation">:</span> <span class="hljs…
1507 …n class="hljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">…
1508 …pan class="hljs-attr">"functions"</span><span class="hljs-punctuation">:</span> <span class="hljs-…
1509 <span class="hljs-punctuation">}</span>
1510 <span class="hljs-punctuation">]</span>
1511 <span class="hljs-punctuation">}</span></code></pre>
1513 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
1514 <p>If found, source map data is appended to the top-level key <code>source-map-cache</code>
1516 <p><code>source-map-cache</code> is an object with keys representing the files source maps
1517 were extracted from, and values which include the raw source-map URL
1520 <pre><code class="language-json"><span class="hljs-punctuation">{</span>
1521 …<span class="hljs-attr">"result"</span><span class="hljs-punctuation">:</span> <span class="hljs-p…
1522 <span class="hljs-punctuation">{</span>
1523 …<span class="hljs-attr">"scriptId"</span><span class="hljs-punctuation">:</span> <span class="hljs…
1524 …ljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"file:///a…
1525 …pan class="hljs-attr">"functions"</span><span class="hljs-punctuation">:</span> <span class="hljs-…
1526 <span class="hljs-punctuation">}</span>
1527 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1528 …<span class="hljs-attr">"source-map-cache"</span><span class="hljs-punctuation">:</span> <span cla…
1529 …<span class="hljs-attr">"file:///absolute/path/to/source.js"</span><span class="hljs-punctuation">…
1530 …class="hljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">".…
1531 …<span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-pun…
1532 …<span class="hljs-attr">"version"</span><span class="hljs-punctuation">:</span> <span class="hljs-…
1533 …<span class="hljs-attr">"sources"</span><span class="hljs-punctuation">:</span> <span class="hljs-…
1534 <span class="hljs-string">"file:///absolute/path/to/original.js"</span>
1535 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1536 …<span class="hljs-attr">"names"</span><span class="hljs-punctuation">:</span> <span class="hljs-pu…
1537 <span class="hljs-string">"Foo"</span><span class="hljs-punctuation">,</span>
1538 <span class="hljs-string">"console"</span><span class="hljs-punctuation">,</span>
1539 <span class="hljs-string">"info"</span>
1540 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1541 …ass="hljs-attr">"mappings"</span><span class="hljs-punctuation">:</span> <span class="hljs-string"…
1542 …<span class="hljs-attr">"sourceRoot"</span><span class="hljs-punctuation">:</span> <span class="hl…
1543 <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
1544 …<span class="hljs-attr">"lineLengths"</span><span class="hljs-punctuation">:</span> <span class="h…
1545 <span class="hljs-number">13</span><span class="hljs-punctuation">,</span>
1546 <span class="hljs-number">62</span><span class="hljs-punctuation">,</span>
1547 <span class="hljs-number">38</span><span class="hljs-punctuation">,</span>
1548 <span class="hljs-number">27</span>
1549 <span class="hljs-punctuation">]</span>
1550 <span class="hljs-punctuation">}</span>
1551 <span class="hljs-punctuation">}</span>
1552 <span class="hljs-punctuation">}</span></code></pre>
1554 <p><a href="https://no-color.org"><code>NO_COLOR</code></a> is an alias for <code>NODE_DISABLE_COL…
1561 used to enable FIPS-compliant crypto if Node.js is built with <code>./configure --openssl-fips</cod…
1562 <p>If the <a href="#cli_openssl_config_file"><code>--openssl-config</code></a> command-line option …
1568 <p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's directory
1577 <p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's file
1611 <h4><code>--max-old-space-size=SIZE</code> (in megabytes)<span><a class="mark" href="#cli_max_old_s…
1617 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
1618 <!-- API END -->
1627 const themeToggleButton = document.getElementById('theme-toggle-btn');
1629 const mq = window.matchMedia('(prefers-color-scheme: dark)');
1632 document.body.classList.toggle('dark-mode', e.matches);
1642 document.body.classList.add('dark-mode');
1645 document.body.classList.add('dark-mode');
1652 document.body.classList.toggle('dark-mode')