dexnode
v1.2.2
Published
Run NodeJS with logging options needed by Deopt Explorer
Downloads
942
Readme
dexnode
- Commandline Utility for Deopt Explorer.
dexnode
is a commandline wrapper for the NodeJS executable (node
) designed to simplify the process of launching Node
with the necessary arguments required to produce a log that can be consumed by Deopt Explorer. When launched,
dexnode
will attempt to determine the correct logging and tracing options based on the detected version of NodeJS.
Installation
npm install --global dexnode
Examples
# NodeJS (via global install)
dexnode myscript.js
# NodeJS (via `npm exec`)
npm exec dexnode myscript.js
# Deno (via `deno run`)
deno run -A npm:dexnode myscript.js
Usage
dexnode [options] [--] <executable> [executable_options]
options:
-h --help print this message
--no-maps exclude v8 maps from log
--no-ics exclude ics from log
--no-deopts exclude deopts from log
--no-profile exclude cpu profile from log
--no-sources exclude sources from log
--no-quiet write dexnode messages to stdout (default)
--maps include v8 maps in log (default)
--ics include ics in log (default)
--deopts include deopts in log (default)
--profile include cpu profile in log (default)
--sources include sources in log (default)
--quiet do not write dexnode messages to stdout
--out FILE write all log output to FILE (default: isolate-<pid>-<isolate id>-v8.log)
-- pass all remaining arguments to node