When I use --nolazy
, I can finally debug asynchronously with IntelliJ, as breakpoints stop at the correct place. But I can\'t find any docs on --nolazy
As others have said, you can see command line options for v8 with
node --v8-options
There, you can see a listing for --lazy
:
--lazy (use lazy compilation)
type: bool default: true
v8 uses a fairly common way to describe booleans - prefix the flag with no
to set to false, and use just the flag to set to true. So --nolazy
sets the lazy
flag to false.
Note: node
uses a slightly different convention - there, you use the no-
prefix (note the dash) to set bools to false. For example, --no-deprecation
is a node
flag.