• Home
  • Raw
  • Download

Lines Matching +full:profile +full:- +full:traces

4   <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width">
6 <meta name="nodejs.org:node-version" content="v14.20.1">
7 <title>Command-line options | Node.js v14.20.1 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-v18.x/api/cli.html">18.x</a…
120 <li><a href="https://nodejs.org/docs/latest-v17.x/api/cli.html">17.x</a></li>
121 <li><a href="https://nodejs.org/docs/latest-v16.x/api/cli.html">16.x <b>LTS</b></a></li>
122 <li><a href="https://nodejs.org/docs/latest-v15.x/api/cli.html">15.x</a></li>
123 <li><a href="https://nodejs.org/docs/latest-v14.x/api/cli.html">14.x <b>LTS</b></a></li>
124 <li><a href="https://nodejs.org/docs/latest-v13.x/api/cli.html">13.x</a></li>
125 <li><a href="https://nodejs.org/docs/latest-v12.x/api/cli.html">12.x <b>LTS</b></a></li>
126 <li><a href="https://nodejs.org/docs/latest-v11.x/api/cli.html">11.x</a></li>
127 <li><a href="https://nodejs.org/docs/latest-v10.x/api/cli.html">10.x</a></li>
128 <li><a href="https://nodejs.org/docs/latest-v9.x/api/cli.html">9.x</a></li>
129 <li><a href="https://nodejs.org/docs/latest-v8.x/api/cli.html">8.x</a></li>
130 <li><a href="https://nodejs.org/docs/latest-v7.x/api/cli.html">7.x</a></li>
131 <li><a href="https://nodejs.org/docs/latest-v6.x/api/cli.html">6.x</a></li>
132 <li><a href="https://nodejs.org/docs/latest-v5.x/api/cli.html">5.x</a></li></ol>
142 <li><a href="#cli_command_line_options">Command-line options</a>
147 <li><a href="#cli"><code>-</code></a></li>
148 <li><a href="#cli_1"><code>--</code></a></li>
149 <li><a href="#cli_abort_on_uncaught_exception"><code>--abort-on-uncaught-exception</code></a></li>
150 <li><a href="#cli_completion_bash"><code>--completion-bash</code></a></li>
151 …lity_1"><a href="#cli_c_condition_conditions_condition"><code>-C=condition</code>, <code>--conditi…
152 <li><span class="stability_1"><a href="#cli_cpu_prof"><code>--cpu-prof</code></a></span></li>
153 <li><span class="stability_1"><a href="#cli_cpu_prof_dir"><code>--cpu-prof-dir</code></a></span></l…
154 <li><span class="stability_1"><a href="#cli_cpu_prof_interval"><code>--cpu-prof-interval</code></a>…
155 <li><span class="stability_1"><a href="#cli_cpu_prof_name"><code>--cpu-prof-name</code></a></span><…
156 <li><a href="#cli_diagnostic_dir_directory"><code>--diagnostic-dir=directory</code></a></li>
157 <li><a href="#cli_disable_proto_mode"><code>--disable-proto=mode</code></a></li>
158 <li><a href="#cli_disallow_code_generation_from_strings"><code>--disallow-code-generation-from-stri…
159 <li><a href="#cli_dns_result_order_order"><code>--dns-result-order=order</code></a></li>
160 <li><a href="#cli_enable_fips"><code>--enable-fips</code></a></li>
161 <li><a href="#cli_enable_source_maps"><code>--enable-source-maps</code></a></li>
162 <li><a href="#cli_experimental_abortcontroller"><code>--experimental-abortcontroller</code></a></li>
163 <li><a href="#cli_experimental_import_meta_resolve"><code>--experimental-import-meta-resolve</code>…
164 <li><a href="#cli_experimental_json_modules"><code>--experimental-json-modules</code></a></li>
165 <li><a href="#cli_experimental_loader_module"><code>--experimental-loader=module</code></a></li>
166 <li><a href="#cli_experimental_modules"><code>--experimental-modules</code></a></li>
167 <li><a href="#cli_experimental_policy"><code>--experimental-policy</code></a></li>
168 <li><a href="#cli_experimental_repl_await"><code>--experimental-repl-await</code></a></li>
169 <li><a href="#cli_experimental_specifier_resolution_mode"><code>--experimental-specifier-resolution…
170 <li><a href="#cli_experimental_vm_modules"><code>--experimental-vm-modules</code></a></li>
171 <li><a href="#cli_experimental_wasi_unstable_preview1"><code>--experimental-wasi-unstable-preview1<…
172 <li><a href="#cli_experimental_wasm_modules"><code>--experimental-wasm-modules</code></a></li>
173 <li><a href="#cli_force_context_aware"><code>--force-context-aware</code></a></li>
174 <li><a href="#cli_force_fips"><code>--force-fips</code></a></li>
175 <li><span class="stability_1"><a href="#cli_frozen_intrinsics"><code>--frozen-intrinsics</code></a>…
176 …_1"><a href="#cli_heapsnapshot_near_heap_limit_max_count"><code>--heapsnapshot-near-heap-limit=max…
177 <li><a href="#cli_heapsnapshot_signal_signal"><code>--heapsnapshot-signal=signal</code></a></li>
178 <li><span class="stability_1"><a href="#cli_heap_prof"><code>--heap-prof</code></a></span></li>
179 <li><span class="stability_1"><a href="#cli_heap_prof_dir"><code>--heap-prof-dir</code></a></span><…
180 <li><span class="stability_1"><a href="#cli_heap_prof_interval"><code>--heap-prof-interval</code></…
181 <li><span class="stability_1"><a href="#cli_heap_prof_name"><code>--heap-prof-name</code></a></span…
182 <li><a href="#cli_icu_data_dir_file"><code>--icu-data-dir=file</code></a></li>
183 <li><a href="#cli_input_type_type"><code>--input-type=type</code></a></li>
184 <li><a href="#cli_inspect_brk_host_port"><code>--inspect-brk[=[host:]port]</code></a></li>
185 <li><a href="#cli_inspect_port_host_port"><code>--inspect-port=[host:]port</code></a></li>
186 <li><a href="#cli_inspect_host_port"><code>--inspect[=[host:]port]</code></a>
191 <li><a href="#cli_inspect_publish_uid_stderr_http"><code>--inspect-publish-uid=stderr,http</code></…
192 <li><a href="#cli_insecure_http_parser"><code>--insecure-http-parser</code></a></li>
193 <li><a href="#cli_jitless"><code>--jitless</code></a></li>
194 <li><a href="#cli_max_http_header_size_size"><code>--max-http-header-size=size</code></a></li>
195 <li><a href="#cli_napi_modules"><code>--napi-modules</code></a></li>
196 <li><a href="#cli_no_addons"><code>--no-addons</code></a></li>
197 <li><a href="#cli_no_deprecation"><code>--no-deprecation</code></a></li>
198 <li><a href="#cli_no_force_async_hooks_checks"><code>--no-force-async-hooks-checks</code></a></li>
199 <li><a href="#cli_no_warnings"><code>--no-warnings</code></a></li>
200 <li><a href="#cli_node_memory_debug"><code>--node-memory-debug</code></a></li>
201 <li><a href="#cli_openssl_config_file"><code>--openssl-config=file</code></a></li>
202 <li><a href="#cli_pending_deprecation"><code>--pending-deprecation</code></a></li>
203 <li><span class="stability_1"><a href="#cli_policy_integrity_sri"><code>--policy-integrity=sri</cod…
204 <li><a href="#cli_preserve_symlinks"><code>--preserve-symlinks</code></a></li>
205 <li><a href="#cli_preserve_symlinks_main"><code>--preserve-symlinks-main</code></a></li>
206 <li><a href="#cli_prof"><code>--prof</code></a></li>
207 <li><a href="#cli_prof_process"><code>--prof-process</code></a></li>
208 <li><a href="#cli_redirect_warnings_file"><code>--redirect-warnings=file</code></a></li>
209 <li><a href="#cli_report_compact"><code>--report-compact</code></a></li>
210 …eport_dir_directory_report_directory_directory"><code>--report-dir=directory</code>, <code>report-
211 <li><a href="#cli_report_filename_filename"><code>--report-filename=filename</code></a></li>
212 <li><a href="#cli_report_on_fatalerror"><code>--report-on-fatalerror</code></a></li>
213 <li><a href="#cli_report_on_signal"><code>--report-on-signal</code></a></li>
214 <li><a href="#cli_report_signal_signal"><code>--report-signal=signal</code></a></li>
215 <li><a href="#cli_report_uncaught_exception"><code>--report-uncaught-exception</code></a></li>
216 <li><a href="#cli_throw_deprecation"><code>--throw-deprecation</code></a></li>
217 <li><a href="#cli_title_title"><code>--title=title</code></a></li>
218 <li><a href="#cli_tls_cipher_list_list"><code>--tls-cipher-list=list</code></a></li>
219 <li><a href="#cli_tls_keylog_file"><code>--tls-keylog=file</code></a></li>
220 <li><a href="#cli_tls_max_v1_2"><code>--tls-max-v1.2</code></a></li>
221 <li><a href="#cli_tls_max_v1_3"><code>--tls-max-v1.3</code></a></li>
222 <li><a href="#cli_tls_min_v1_0"><code>--tls-min-v1.0</code></a></li>
223 <li><a href="#cli_tls_min_v1_1"><code>--tls-min-v1.1</code></a></li>
224 <li><a href="#cli_tls_min_v1_2"><code>--tls-min-v1.2</code></a></li>
225 <li><a href="#cli_tls_min_v1_3"><code>--tls-min-v1.3</code></a></li>
226 <li><a href="#cli_trace_atomics_wait"><code>--trace-atomics-wait</code></a></li>
227 <li><a href="#cli_trace_deprecation"><code>--trace-deprecation</code></a></li>
228 <li><a href="#cli_trace_event_categories"><code>--trace-event-categories</code></a></li>
229 <li><a href="#cli_trace_event_file_pattern"><code>--trace-event-file-pattern</code></a></li>
230 <li><a href="#cli_trace_events_enabled"><code>--trace-events-enabled</code></a></li>
231 <li><a href="#cli_trace_exit"><code>--trace-exit</code></a></li>
232 <li><a href="#cli_trace_sigint"><code>--trace-sigint</code></a></li>
233 <li><a href="#cli_trace_sync_io"><code>--trace-sync-io</code></a></li>
234 <li><a href="#cli_trace_tls"><code>--trace-tls</code></a></li>
235 <li><a href="#cli_trace_uncaught"><code>--trace-uncaught</code></a></li>
236 <li><a href="#cli_trace_warnings"><code>--trace-warnings</code></a></li>
237 <li><a href="#cli_track_heap_objects"><code>--track-heap-objects</code></a></li>
238 <li><a href="#cli_unhandled_rejections_mode"><code>--unhandled-rejections=mode</code></a></li>
239 …li><a href="#cli_use_bundled_ca_use_openssl_ca"><code>--use-bundled-ca</code>, <code>--use-openssl
240 <li><a href="#cli_use_largepages_mode"><code>--use-largepages=mode</code></a></li>
241 <li><a href="#cli_v8_options"><code>--v8-options</code></a></li>
242 <li><a href="#cli_v8_pool_size_num"><code>--v8-pool-size=num</code></a></li>
243 <li><a href="#cli_zero_fill_buffers"><code>--zero-fill-buffers</code></a></li>
244 <li><a href="#cli_c_check"><code>-c</code>, <code>--check</code></a></li>
245 <li><a href="#cli_e_eval_script"><code>-e</code>, <code>--eval "script"</code></a></li>
246 <li><a href="#cli_h_help"><code>-h</code>, <code>--help</code></a></li>
247 <li><a href="#cli_i_interactive"><code>-i</code>, <code>--interactive</code></a></li>
248 <li><a href="#cli_p_print_script"><code>-p</code>, <code>--print "script"</code></a></li>
249 <li><a href="#cli_r_require_module"><code>-r</code>, <code>--require module</code></a></li>
250 <li><a href="#cli_v_version"><code>-v</code>, <code>--version</code></a></li>
287 <li><a href="#cli_max_old_space_size_size_in_megabytes"><code>--max-old-space-size=SIZE</code> (in …
295 …<h2>Command-line options<span><a class="mark" href="#cli_command_line_options" id="cli_command_lin…
298 <p>Node.js comes with a variety of CLI options. These options expose built-in
302 <p><code>node [options] [V8 options] [script.js | -e "script" | -] [--] [arguments]</code></p>
303 <p><code>node inspect [script.js | -e "script" | &#x3C;host>:&#x3C;port>] …</code></p>
304 <p><code>node --v8-options</code></p>
318 dashes (<code>-</code>) or underscores (<code>_</code>). For example, <code>--pending-deprecation</…
319 equivalent to <code>--pending_deprecation</code>.</p>
320 <p>If an option that takes a single value (such as <code>--max-http-header-size</code>) is
324 <h4><code>-</code><span><a class="mark" href="#cli" id="cli">#</a></span></h4>
328 <p>Alias for stdin. Analogous to the use of <code>-</code> in other command-line utilities,
331 <h4><code>--</code><span><a class="mark" href="#cli_1" id="cli_1">#</a></span></h4>
338 <h4><code>--abort-on-uncaught-exception</code><span><a class="mark" href="#cli_abort_on_uncaught_ex…
342 <p>Aborting instead of exiting causes a core file to be generated for post-mortem
347 <h4><code>--completion-bash</code><span><a class="mark" href="#cli_completion_bash" id="cli_complet…
351 <p>Print source-able bash completion script for Node.js.</p>
352 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
353 <span class="hljs-meta">$ </span><span class="language-bash"><span class="hljs-built_in">source</sp…
354 <h4><code>-C=condition</code>, <code>--conditions=condition</code><span><a class="mark" href="#cli_…
358 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
365 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
366 <h4><code>--cpu-prof</code><span><a class="mark" href="#cli_cpu_prof" id="cli_cpu_prof">#</a></span…
370 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
371 <p>Starts the V8 CPU profiler on start up, and writes the CPU profile to disk
373 <p>If <code>--cpu-prof-dir</code> is not specified, the generated profile is placed
375 <p>If <code>--cpu-prof-name</code> is not specified, the generated profile is
377 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
378 <span class="hljs-meta">$ </span><span class="language-bash">ls *.cpuprofile</span>
380 <h4><code>--cpu-prof-dir</code><span><a class="mark" href="#cli_cpu_prof_dir" id="cli_cpu_prof_dir"…
384 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
385 <p>Specify the directory where the CPU profiles generated by <code>--cpu-prof</code> will
388 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
389 <h4><code>--cpu-prof-interval</code><span><a class="mark" href="#cli_cpu_prof_interval" id="cli_cpu…
393 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
395 by <code>--cpu-prof</code>. The default is 1000 microseconds.</p>
396 <h4><code>--cpu-prof-name</code><span><a class="mark" href="#cli_cpu_prof_name" id="cli_cpu_prof_na…
400 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
401 <p>Specify the file name of the CPU profile generated by <code>--cpu-prof</code>.</p>
402 <h4><code>--diagnostic-dir=directory</code><span><a class="mark" href="#cli_diagnostic_dir_director…
407 <li><a href="#cli_cpu_prof_dir">--cpu-prof-dir</a></li>
408 <li><a href="#cli_heap_prof_dir">--heap-prof-dir</a></li>
409 <li><a href="#cli_redirect_warnings_file">--redirect-warnings</a></li>
411 <h4><code>--disable-proto=mode</code><span><a class="mark" href="#cli_disable_proto_mode" id="cli_d…
418 <h4><code>--disallow-code-generation-from-strings</code><span><a class="mark" href="#cli_disallow_c…
422 <p>Make built-in language features like <code>eval</code> and <code>new Function</code> that genera…
425 <h4><code>--dns-result-order=order</code><span><a class="mark" href="#cli_dns_result_order_order" i…
436 priority than <code>--dns-result-order</code>.</p>
437 <h4><code>--enable-fips</code><span><a class="mark" href="#cli_enable_fips" id="cli_enable_fips">#<…
441 <p>Enable FIPS-compliant crypto at startup. (Requires Node.js to be built
442 against FIPS-compatible OpenSSL.)</p>
443 <h4><code>--enable-source-maps</code><span><a class="mark" href="#cli_enable_source_maps" id="cli_e…
455 <p>Enable <a href="https://sourcemaps.info/spec.html">Source Map v3</a> support for stack traces.</…
456 <p>When using a transpiler, such as TypeScript, strack traces thrown by an
458 <code>--enable-source-maps</code> enables caching of Source Maps and makes a best
459 effort to report stack traces relative to the original source file.</p>
460 <p>Overriding <code>Error.prepareStackTrace</code> prevents <code>--enable-source-maps</code> from
462 <h4><code>--experimental-abortcontroller</code><span><a class="mark" href="#cli_experimental_abortc…
467 <h4><code>--experimental-import-meta-resolve</code><span><a class="mark" href="#cli_experimental_im…
472 <h4><code>--experimental-json-modules</code><span><a class="mark" href="#cli_experimental_json_modu…
477 <h4><code>--experimental-loader=module</code><span><a class="mark" href="#cli_experimental_loader_m…
483 <h4><code>--experimental-modules</code><span><a class="mark" href="#cli_experimental_modules" id="c…
488 <h4><code>--experimental-policy</code><span><a class="mark" href="#cli_experimental_policy" id="cli…
493 <h4><code>--experimental-repl-await</code><span><a class="mark" href="#cli_experimental_repl_await"…
497 <p>Enable experimental top-level <code>await</code> keyword support in REPL.</p>
498 <h4><code>--experimental-specifier-resolution=mode</code><span><a class="mark" href="#cli_experimen…
508 <h4><code>--experimental-vm-modules</code><span><a class="mark" href="#cli_experimental_vm_modules"…
513 <h4><code>--experimental-wasi-unstable-preview1</code><span><a class="mark" href="#cli_experimental…
519 <td><p>changed from <code>--experimental-wasi-unstable-preview0</code> to <code>--experimental-wasi
526 <h4><code>--experimental-wasm-modules</code><span><a class="mark" href="#cli_experimental_wasm_modu…
531 <h4><code>--force-context-aware</code><span><a class="mark" href="#cli_force_context_aware" id="cli…
535 …native addons that are not <a href="addons.html#addons_context_aware_addons">context-aware</a>.</p>
536 <h4><code>--force-fips</code><span><a class="mark" href="#cli_force_fips" id="cli_force_fips">#</a>…
540 <p>Force FIPS-compliant crypto on startup. (Cannot be disabled from script code.)
541 (Same requirements as <code>--enable-fips</code>.)</p>
542 <h4><code>--frozen-intrinsics</code><span><a class="mark" href="#cli_frozen_intrinsics" id="cli_fro…
546 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
551 <p><code>--require</code> runs prior to freezing intrinsics in order to allow polyfills to
553 <h4><code>--heapsnapshot-near-heap-limit=max_count</code><span><a class="mark" href="#cli_heapsnaps…
557 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
559 heap limit. <code>count</code> should be a non-negative integer (in which case
576 …ass="language-console"><span class="hljs-meta">$ </span><span class="language-bash">node --max-old
581 &#x3C;--- Last few GCs --->
583 [49580:0x110000000] 4826 ms: Mark-sweep 130.6 (147.8) -> 130.5 (147.8) MB, 27.4 / 0.0 ms (aver…
584 [49580:0x110000000] 4845 ms: Mark-sweep 130.6 (147.8) -> 130.6 (147.8) MB, 18.8 / 0.0 ms (aver…
587 &#x3C;--- JS stacktrace --->
589 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of m…
591 <h4><code>--heapsnapshot-signal=signal</code><span><a class="mark" href="#cli_heapsnapshot_signal_s…
598 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
599 <span class="hljs-meta">$ </span><span class="language-bash">ps aux</span>
601 node 1 5.5 6.1 787252 247004 ? Ssl 16:43 0:02 node --heapsnapshot-signal=SIGUSR2…
602 <span class="hljs-meta">$ </span><span class="language-bash"><span class="hljs-built_in">kill</span…
603 <span class="hljs-meta">$ </span><span class="language-bash">ls</span>
605 <h4><code>--heap-prof</code><span><a class="mark" href="#cli_heap_prof" id="cli_heap_prof">#</a></s…
609 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
610 <p>Starts the V8 heap profiler on start up, and writes the heap profile to disk
612 <p>If <code>--heap-prof-dir</code> is not specified, the generated profile is placed
614 <p>If <code>--heap-prof-name</code> is not specified, the generated profile is
616 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
617 <span class="hljs-meta">$ </span><span class="language-bash">ls *.heapprofile</span>
619 <h4><code>--heap-prof-dir</code><span><a class="mark" href="#cli_heap_prof_dir" id="cli_heap_prof_d…
623 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
624 <p>Specify the directory where the heap profiles generated by <code>--heap-prof</code> will
627 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
628 <h4><code>--heap-prof-interval</code><span><a class="mark" href="#cli_heap_prof_interval" id="cli_h…
632 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
634 by <code>--heap-prof</code>. The default is 512 * 1024 bytes.</p>
635 <h4><code>--heap-prof-name</code><span><a class="mark" href="#cli_heap_prof_name" id="cli_heap_prof…
639 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
640 <p>Specify the file name of the heap profile generated by <code>--heap-prof</code>.</p>
641 <h4><code>--icu-data-dir=file</code><span><a class="mark" href="#cli_icu_data_dir_file" id="cli_icu…
646 <h4><code>--input-type=type</code><span><a class="mark" href="#cli_input_type_type" id="cli_input_t…
651 module. String input is input via <code>--eval</code>, <code>--print</code>, or <code>STDIN</code>.…
653 <h4><code>--inspect-brk[=[host:]port]</code><span><a class="mark" href="#cli_inspect_brk_host_port"…
659 <h4><code>--inspect-port=[host:]port</code><span><a class="mark" href="#cli_inspect_port_host_port"…
668 <h4><code>--inspect[=[host:]port]</code><span><a class="mark" href="#cli_inspect_host_port" id="cli…
674 and profile Node.js instances. The tools attach to Node.js instances via a
675 tcp port and communicate using the <a href="https://chromedevtools.github.io/devtools-protocol/">Ch…
686 <p><strong>More specifically, <code>--inspect=0.0.0.0</code> is insecure if the port (<code>9229</c…
687 default) is not firewall-protected.</strong></p>
688 <p>See the <a href="https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implicati…
689 <h4><code>--inspect-publish-uid=stderr,http</code><span><a class="mark" href="#cli_inspect_publish_…
693 <h4><code>--insecure-http-parser</code><span><a class="mark" href="#cli_insecure_http_parser" id="c…
698 interoperability with non-conformant HTTP implementations. It may also allow
701 <h4><code>--jitless</code><span><a class="mark" href="#cli_jitless" id="cli_jitless">#</a></span></…
709 disappear in a non-semver-major release.</p>
710 <h4><code>--max-http-header-size=size</code><span><a class="mark" href="#cli_max_http_header_size_s…
723 <h4><code>--napi-modules</code><span><a class="mark" href="#cli_napi_modules" id="cli_napi_modules"…
727 <p>This option is a no-op. It is kept for compatibility.</p>
728 <h4><code>--no-addons</code><span><a class="mark" href="#cli_no_addons" id="cli_no_addons">#</a></s…
732 <p>Disable the <code>node-addons</code> exports condition as well as disable loading
733 native addons. When <code>--no-addons</code> is specified, calling <code>process.dlopen</code> or
735 <h4><code>--no-deprecation</code><span><a class="mark" href="#cli_no_deprecation" id="cli_no_deprec…
740 <h4><code>--no-force-async-hooks-checks</code><span><a class="mark" href="#cli_no_force_async_hooks…
746 <h4><code>--no-warnings</code><span><a class="mark" href="#cli_no_warnings" id="cli_no_warnings">#<…
751 <h4><code>--node-memory-debug</code><span><a class="mark" href="#cli_node_memory_debug" id="cli_nod…
757 <h4><code>--openssl-config=file</code><span><a class="mark" href="#cli_openssl_config_file" id="cli…
762 used to enable FIPS-compliant crypto if Node.js is built
763 against FIPS-enabled OpenSSL.</p>
764 <h4><code>--pending-deprecation</code><span><a class="mark" href="#cli_pending_deprecation" id="cli…
771 unless either the <code>--pending-deprecation</code> command-line flag, or the
775 <h4><code>--policy-integrity=sri</code><span><a class="mark" href="#cli_policy_integrity_sri" id="c…
779 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
781 the specified integrity. It expects a <a href="https://developer.mozilla.org/en-US/docs/Web/Securit…
783 <h4><code>--preserve-symlinks</code><span><a class="mark" href="#cli_preserve_symlinks" id="cli_pre…
790 to a different on-disk location, Node.js will dereference the link and use the
791 actual on-disk "real path" of the module as both an identifier and as a root
796 <pre><code class="language-text">{appDir}
800 │ ├── moduleA -> {appDir}/moduleA
807 <p>The <code>--preserve-symlinks</code> command-line flag instructs Node.js to use the
810 <p>Note, however, that using <code>--preserve-symlinks</code> can have other side effects.
815 <p>The <code>--preserve-symlinks</code> flag does not apply to the main module, which allows
816 <code>node --preserve-symlinks node_module/.bin/&#x3C;foo></code> to work. To apply the same
817 behavior for the main module, also use <code>--preserve-symlinks-main</code>.</p>
818 <h4><code>--preserve-symlinks-main</code><span><a class="mark" href="#cli_preserve_symlinks_main" i…
824 <p>This flag exists so that the main module can be opted-in to the same behavior
825 that <code>--preserve-symlinks</code> gives to all other imports; they are separate flags,
827 <p><code>--preserve-symlinks-main</code> does not imply <code>--preserve-symlinks</code>; use
828 <code>--preserve-symlinks-main</code> in addition to
829 <code>--preserve-symlinks</code> when it is not desirable to follow symlinks before
831 <p>See <code>--preserve-symlinks</code> for more information.</p>
832 <h4><code>--prof</code><span><a class="mark" href="#cli_prof" id="cli_prof">#</a></span></h4>
837 <h4><code>--prof-process</code><span><a class="mark" href="#cli_prof_process" id="cli_prof_process"…
841 <p>Process V8 profiler output generated using the V8 option <code>--prof</code>.</p>
842 <h4><code>--redirect-warnings=file</code><span><a class="mark" href="#cli_redirect_warnings_file" i…
852 <a href="#cli_diagnostic_dir_directory">--diagnostic-dir</a> command-line option.</p>
853 <h4><code>--report-compact</code><span><a class="mark" href="#cli_report_compact" id="cli_report_co…
857 <p>Write reports in a compact format, single-line JSON, more easily consumable
858 by log processing systems than the default multi-line format designed for
860 <h4><code>--report-dir=directory</code>, <code>report-directory=directory</code><span><a class="mar…
868 <td><p>Changed from <code>--diagnostic-report-directory</code> to <code>--report-directory</code>.<…
875 <h4><code>--report-filename=filename</code><span><a class="mark" href="#cli_report_filename_filenam…
883 <td><p>changed from <code>--diagnostic-report-filename</code> to <code>--report-filename</code>.</p…
890 <h4><code>--report-on-fatalerror</code><span><a class="mark" href="#cli_report_on_fatalerror" id="c…
898 <td><p>changed from <code>--diagnostic-report-on-fatalerror</code> to <code>--report-on-fatalerror<…
909 <h4><code>--report-on-signal</code><span><a class="mark" href="#cli_report_on_signal" id="cli_repor…
917 <td><p>changed from <code>--diagnostic-report-on-signal</code> to <code>--report-on-signal</code>.<…
925 specified through <code>--report-signal</code>.</p>
926 <h4><code>--report-signal=signal</code><span><a class="mark" href="#cli_report_signal_signal" id="c…
934 <td><p>changed from <code>--diagnostic-report-signal</code> to <code>--report-signal</code>.</p></t…
942 <h4><code>--report-uncaught-exception</code><span><a class="mark" href="#cli_report_uncaught_except…
950 <td><p>changed from <code>--diagnostic-report-uncaught-exception</code> to <code>--report-uncaught-
959 <h4><code>--throw-deprecation</code><span><a class="mark" href="#cli_throw_deprecation" id="cli_thr…
964 <h4><code>--title=title</code><span><a class="mark" href="#cli_title_title" id="cli_title_title">#<…
969 <h4><code>--tls-cipher-list=list</code><span><a class="mark" href="#cli_tls_cipher_list_list" id="c…
975 <h4><code>--tls-keylog=file</code><span><a class="mark" href="#cli_tls_keylog_file" id="cli_tls_key…
982 <h4><code>--tls-max-v1.2</code><span><a class="mark" href="#cli_tls_max_v1_2" id="cli_tls_max_v1_2"…
988 <h4><code>--tls-max-v1.3</code><span><a class="mark" href="#cli_tls_max_v1_3" id="cli_tls_max_v1_3"…
994 <h4><code>--tls-min-v1.0</code><span><a class="mark" href="#cli_tls_min_v1_0" id="cli_tls_min_v1_0"…
1000 <h4><code>--tls-min-v1.1</code><span><a class="mark" href="#cli_tls_min_v1_1" id="cli_tls_min_v1_1"…
1006 <h4><code>--tls-min-v1.2</code><span><a class="mark" href="#cli_tls_min_v1_2" id="cli_tls_min_v1_2"…
1013 <h4><code>--tls-min-v1.3</code><span><a class="mark" href="#cli_tls_min_v1_3" id="cli_tls_min_v1_3"…
1019 <h4><code>--trace-atomics-wait</code><span><a class="mark" href="#cli_trace_atomics_wait" id="cli_t…
1023 <p>Print short summaries of calls to <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScri…
1025 <pre><code class="language-text">(node:15701) [Thread 0] Atomics.wait(&#x26;lt;address> + 0, 1, inf…
1030 (node:15701) [Thread 1] Atomics.wait(&#x26;lt;address> + 4, -1, inf) started
1032 (node:15701) [Thread 1] Atomics.wait(&#x26;lt;address> + 4, -1, inf) was woken up by another thread…
1041 <h4><code>--trace-deprecation</code><span><a class="mark" href="#cli_trace_deprecation" id="cli_tra…
1045 <p>Print stack traces for deprecations.</p>
1046 <h4><code>--trace-event-categories</code><span><a class="mark" href="#cli_trace_event_categories" i…
1051 tracing is enabled using <code>--trace-events-enabled</code>.</p>
1052 <h4><code>--trace-event-file-pattern</code><span><a class="mark" href="#cli_trace_event_file_patter…
1058 <h4><code>--trace-events-enabled</code><span><a class="mark" href="#cli_trace_events_enabled" id="c…
1063 <h4><code>--trace-exit</code><span><a class="mark" href="#cli_trace_exit" id="cli_trace_exit">#</a>…
1069 <h4><code>--trace-sigint</code><span><a class="mark" href="#cli_trace_sigint" id="cli_trace_sigint"…
1074 <h4><code>--trace-sync-io</code><span><a class="mark" href="#cli_trace_sync_io" id="cli_trace_sync_…
1080 <h4><code>--trace-tls</code><span><a class="mark" href="#cli_trace_tls" id="cli_trace_tls">#</a></s…
1086 <h4><code>--trace-uncaught</code><span><a class="mark" href="#cli_trace_uncaught" id="cli_trace_unc…
1090 <p>Print stack traces for uncaught exceptions; usually, the stack trace associated
1095 <h4><code>--trace-warnings</code><span><a class="mark" href="#cli_trace_warnings" id="cli_trace_war…
1099 <p>Print stack traces for process warnings (including deprecations).</p>
1100 <h4><code>--track-heap-objects</code><span><a class="mark" href="#cli_track_heap_objects" id="cli_t…
1105 <h4><code>--unhandled-rejections=mode</code><span><a class="mark" href="#cli_unhandled_rejections_m…
1120 <li><code>warn-with-error-code</code>: Emit <a href="process.html#process_event_unhandledrejection"…
1124 <h4><code>--use-bundled-ca</code>, <code>--use-openssl-ca</code><span><a class="mark" href="#cli_us…
1130 at build-time.</p>
1139 <h4><code>--use-largepages=mode</code><span><a class="mark" href="#cli_use_largepages_mode" id="cli…
1143 <p>Re-map the Node.js static code to large memory pages at startup. If supported on
1154 <h4><code>--v8-options</code><span><a class="mark" href="#cli_v8_options" id="cli_v8_options">#</a>…
1158 <p>Print V8 command-line options.</p>
1159 <h4><code>--v8-pool-size=num</code><span><a class="mark" href="#cli_v8_pool_size_num" id="cli_v8_po…
1168 <h4><code>--zero-fill-buffers</code><span><a class="mark" href="#cli_zero_fill_buffers" id="cli_zer…
1172 <p>Automatically zero-fills all newly allocated <a href="buffer.html#buffer_class_buffer"><code>Buf…
1174 <h4><code>-c</code>, <code>--check</code><span><a class="mark" href="#cli_c_check" id="cli_c_check"…
1180 <td><p>The <code>--require</code> option is now supported when checking a file.</p></td></tr>
1187 <h4><code>-e</code>, <code>--eval "script"</code><span><a class="mark" href="#cli_e_eval_script" id…
1193 <td><p>Built-in libraries are now available as predefined variables.</p></td></tr>
1204 <h4><code>-h</code>, <code>--help</code><span><a class="mark" href="#cli_h_help" id="cli_h_help">#<…
1208 <p>Print node command-line options.
1210 <h4><code>-i</code>, <code>--interactive</code><span><a class="mark" href="#cli_i_interactive" id="…
1215 <h4><code>-p</code>, <code>--print "script"</code><span><a class="mark" href="#cli_p_print_script" …
1221 <td><p>Built-in libraries are now available as predefined variables.</p></td></tr>
1227 <p>Identical to <code>-e</code> but prints the result.</p>
1228 <h4><code>-r</code>, <code>--require module</code><span><a class="mark" href="#cli_r_require_module…
1236 ES6 Module using <code>--require</code> will fail with an error.</p>
1237 <h4><code>-v</code>, <code>--version</code><span><a class="mark" href="#cli_v_version" id="cli_v_ve…
1247 <li><code>1</code>, <code>true</code>, or the empty string <code>''</code> indicate 16-color suppor…
1248 <li><code>2</code> to indicate 256-color support, or</li>
1249 <li><code>3</code> to indicate 16 million-color support.</li>
1258 <p><code>','</code>-separated list of core modules that should print debug information.</p>
1260 <p><code>','</code>-separated list of core C++ modules that should print debug information.</p>
1286 <p>Data path for ICU (<code>Intl</code> object) data. Will extend linked-in data when compiled
1287 with small-icu support.</p>
1297 <p>A space-separated list of command-line options. <code>options...</code> are interpreted
1298 before command-line options, so command-line options will override or
1300 an option that is not allowed in the environment is used, such as <code>-p</code> or a
1303 <pre><code class="language-bash">NODE_OPTIONS=<span class="hljs-string">'--require "./my path/file.…
1304 <p>A singleton flag passed as a command-line option will override the same flag
1306 <pre><code class="language-bash"><span class="hljs-comment"># The inspector will be available on po…
1307 NODE_OPTIONS=<span class="hljs-string">'--inspect=localhost:4444'</span> node --inspect=localhost:5…
1309 <code>NODE_OPTIONS</code> instances were passed first, and then its command-line
1311 …e><code class="language-bash">NODE_OPTIONS=<span class="hljs-string">'--require "./a.js"'</span> n…
1312 <span class="hljs-comment"># is equivalent to:</span>
1313 node --require <span class="hljs-string">"./a.js"</span> --require <span class="hljs-string">"./b.j…
1315 <!-- node-options-node start -->
1317 <li><code>--conditions</code>, <code>-C</code></li>
1318 <li><code>--diagnostic-dir</code></li>
1319 <li><code>--disable-proto</code></li>
1320 <li><code>--dns-result-order</code></li>
1321 <li><code>--enable-fips</code></li>
1322 <li><code>--enable-source-maps</code></li>
1323 <li><code>--experimental-abortcontroller</code></li>
1324 <li><code>--experimental-import-meta-resolve</code></li>
1325 <li><code>--experimental-json-modules</code></li>
1326 <li><code>--experimental-loader</code></li>
1327 <li><code>--experimental-modules</code></li>
1328 <li><code>--experimental-policy</code></li>
1329 <li><code>--experimental-repl-await</code></li>
1330 <li><code>--experimental-specifier-resolution</code></li>
1331 <li><code>--experimental-top-level-await</code></li>
1332 <li><code>--experimental-vm-modules</code></li>
1333 <li><code>--experimental-wasi-unstable-preview1</code></li>
1334 <li><code>--experimental-wasm-modules</code></li>
1335 <li><code>--force-context-aware</code></li>
1336 <li><code>--force-fips</code></li>
1337 <li><code>--frozen-intrinsics</code></li>
1338 <li><code>--heapsnapshot-near-heap-limit</code></li>
1339 <li><code>--heapsnapshot-signal</code></li>
1340 <li><code>--http-parser</code></li>
1341 <li><code>--icu-data-dir</code></li>
1342 <li><code>--input-type</code></li>
1343 <li><code>--insecure-http-parser</code></li>
1344 <li><code>--inspect-brk</code></li>
1345 <li><code>--inspect-port</code>, <code>--debug-port</code></li>
1346 <li><code>--inspect-publish-uid</code></li>
1347 <li><code>--inspect</code></li>
1348 <li><code>--max-http-header-size</code></li>
1349 <li><code>--napi-modules</code></li>
1350 <li><code>--no-addons</code></li>
1351 <li><code>--no-deprecation</code></li>
1352 <li><code>--no-force-async-hooks-checks</code></li>
1353 <li><code>--no-warnings</code></li>
1354 <li><code>--node-memory-debug</code></li>
1355 <li><code>--openssl-config</code></li>
1356 <li><code>--pending-deprecation</code></li>
1357 <li><code>--policy-integrity</code></li>
1358 <li><code>--preserve-symlinks-main</code></li>
1359 <li><code>--preserve-symlinks</code></li>
1360 <li><code>--prof-process</code></li>
1361 <li><code>--redirect-warnings</code></li>
1362 <li><code>--report-compact</code></li>
1363 <li><code>--report-dir</code>, <code>--report-directory</code></li>
1364 <li><code>--report-filename</code></li>
1365 <li><code>--report-on-fatalerror</code></li>
1366 <li><code>--report-on-signal</code></li>
1367 <li><code>--report-signal</code></li>
1368 <li><code>--report-uncaught-exception</code></li>
1369 <li><code>--require</code>, <code>-r</code></li>
1370 <li><code>--throw-deprecation</code></li>
1371 <li><code>--title</code></li>
1372 <li><code>--tls-cipher-list</code></li>
1373 <li><code>--tls-keylog</code></li>
1374 <li><code>--tls-max-v1.2</code></li>
1375 <li><code>--tls-max-v1.3</code></li>
1376 <li><code>--tls-min-v1.0</code></li>
1377 <li><code>--tls-min-v1.1</code></li>
1378 <li><code>--tls-min-v1.2</code></li>
1379 <li><code>--tls-min-v1.3</code></li>
1380 <li><code>--trace-atomics-wait</code></li>
1381 <li><code>--trace-deprecation</code></li>
1382 <li><code>--trace-event-categories</code></li>
1383 <li><code>--trace-event-file-pattern</code></li>
1384 <li><code>--trace-events-enabled</code></li>
1385 <li><code>--trace-exit</code></li>
1386 <li><code>--trace-sigint</code></li>
1387 <li><code>--trace-sync-io</code></li>
1388 <li><code>--trace-tls</code></li>
1389 <li><code>--trace-uncaught</code></li>
1390 <li><code>--trace-warnings</code></li>
1391 <li><code>--track-heap-objects</code></li>
1392 <li><code>--unhandled-rejections</code></li>
1393 <li><code>--use-bundled-ca</code></li>
1394 <li><code>--use-largepages</code></li>
1395 <li><code>--use-openssl-ca</code></li>
1396 <li><code>--v8-pool-size</code></li>
1397 <li><code>--zero-fill-buffers</code></li>
1399 <!-- node-options-node end -->
1401 <!-- node-options-v8 start -->
1403 <li><code>--abort-on-uncaught-exception</code></li>
1404 <li><code>--disallow-code-generation-from-strings</code></li>
1405 <li><code>--huge-max-old-generation-size</code></li>
1406 <li><code>--interpreted-frames-native-stack</code></li>
1407 <li><code>--jitless</code></li>
1408 <li><code>--max-old-space-size</code></li>
1409 <li><code>--perf-basic-prof-only-functions</code></li>
1410 <li><code>--perf-basic-prof</code></li>
1411 <li><code>--perf-prof-unwinding-info</code></li>
1412 <li><code>--perf-prof</code></li>
1413 <li><code>--stack-trace-limit</code></li>
1415 <!-- node-options-v8 end -->
1416 <p><code>--perf-basic-prof-only-functions</code>, <code>--perf-basic-prof</code>,
1417 <code>--perf-prof-unwinding-info</code>, and <code>--perf-prof</code> are only available on Linux.<…
1422 <p><code>':'</code>-separated list of directories prefixed to the module search path.</p>
1423 <p>On Windows, this is a <code>';'</code>-separated list instead.</p>
1431 unless either the <code>--pending-deprecation</code> command-line flag, or the
1452 equivalent to using the <code>--redirect-warnings=file</code> command-line flag.</p>
1464 <p>Path to a Node.js module which will be loaded in place of the built-in REPL.
1465 Overriding this value to an empty string (<code>''</code>) will use the built-in REPL.</p>
1478 …gin outputting <a href="https://v8project.blogspot.com/2017/12/javascript-code-coverage.html">V8 J…
1486 …//chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage">ScriptCoverage</a> …
1488 <pre><code class="language-json"><span class="hljs-punctuation">{</span>
1489 …<span class="hljs-attr">"result"</span><span class="hljs-punctuation">:</span> <span class="hljs-p…
1490 <span class="hljs-punctuation">{</span>
1491 …<span class="hljs-attr">"scriptId"</span><span class="hljs-punctuation">:</span> <span class="hljs
1492 …n class="hljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">…
1493 …pan class="hljs-attr">"functions"</span><span class="hljs-punctuation">:</span> <span class="hljs-
1494 <span class="hljs-punctuation">}</span>
1495 <span class="hljs-punctuation">]</span>
1496 <span class="hljs-punctuation">}</span></code></pre>
1498 …<a href="documentation.html#documentation_stability_index">Stability: 1</a> - Experimental</div><p…
1499 <p>If found, source map data is appended to the top-level key <code>source-map-cache</code>
1501 <p><code>source-map-cache</code> is an object with keys representing the files source maps
1502 were extracted from, and values which include the raw source-map URL
1505 <pre><code class="language-json"><span class="hljs-punctuation">{</span>
1506 …<span class="hljs-attr">"result"</span><span class="hljs-punctuation">:</span> <span class="hljs-p…
1507 <span class="hljs-punctuation">{</span>
1508 …<span class="hljs-attr">"scriptId"</span><span class="hljs-punctuation">:</span> <span class="hljs
1509 …ljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"file:///a…
1510 …pan class="hljs-attr">"functions"</span><span class="hljs-punctuation">:</span> <span class="hljs-
1511 <span class="hljs-punctuation">}</span>
1512 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1513 …<span class="hljs-attr">"source-map-cache"</span><span class="hljs-punctuation">:</span> <span cla…
1514 …<span class="hljs-attr">"file:///absolute/path/to/source.js"</span><span class="hljs-punctuation">…
1515 …class="hljs-attr">"url"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">".…
1516 …<span class="hljs-attr">"data"</span><span class="hljs-punctuation">:</span> <span class="hljs-pun…
1517 …<span class="hljs-attr">"version"</span><span class="hljs-punctuation">:</span> <span class="hljs-
1518 …<span class="hljs-attr">"sources"</span><span class="hljs-punctuation">:</span> <span class="hljs-
1519 <span class="hljs-string">"file:///absolute/path/to/original.js"</span>
1520 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1521 …<span class="hljs-attr">"names"</span><span class="hljs-punctuation">:</span> <span class="hljs-pu…
1522 <span class="hljs-string">"Foo"</span><span class="hljs-punctuation">,</span>
1523 <span class="hljs-string">"console"</span><span class="hljs-punctuation">,</span>
1524 <span class="hljs-string">"info"</span>
1525 <span class="hljs-punctuation">]</span><span class="hljs-punctuation">,</span>
1526 …ass="hljs-attr">"mappings"</span><span class="hljs-punctuation">:</span> <span class="hljs-string"…
1527 …<span class="hljs-attr">"sourceRoot"</span><span class="hljs-punctuation">:</span> <span class="hl…
1528 <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
1529 …<span class="hljs-attr">"lineLengths"</span><span class="hljs-punctuation">:</span> <span class="h…
1530 <span class="hljs-number">13</span><span class="hljs-punctuation">,</span>
1531 <span class="hljs-number">62</span><span class="hljs-punctuation">,</span>
1532 <span class="hljs-number">38</span><span class="hljs-punctuation">,</span>
1533 <span class="hljs-number">27</span>
1534 <span class="hljs-punctuation">]</span>
1535 <span class="hljs-punctuation">}</span>
1536 <span class="hljs-punctuation">}</span>
1537 <span class="hljs-punctuation">}</span></code></pre>
1539 <p><a href="https://no-color.org"><code>NO_COLOR</code></a> is an alias for <code>NODE_DISABLE_COL…
1546 used to enable FIPS-compliant crypto if Node.js is built with <code>./configure --openssl-fips</cod…
1547 <p>If the <a href="#cli_openssl_config_file"><code>--openssl-config</code></a> command-line option …
1553 <p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's directory
1562 <p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's file
1596 <h4><code>--max-old-space-size=SIZE</code> (in megabytes)<span><a class="mark" href="#cli_max_old_s…
1602 <pre><code class="language-console"><span class="hljs-meta">$ </span><span class="language-bash">no…
1603 <!-- API END -->
1612 const themeToggleButton = document.getElementById('theme-toggle-btn');
1614 const mq = window.matchMedia('(prefers-color-scheme: dark)');
1617 document.body.classList.toggle('dark-mode', e.matches);
1627 document.body.classList.add('dark-mode');
1630 document.body.classList.add('dark-mode');
1637 document.body.classList.toggle('dark-mode')