Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created August 13, 2014 18:39
Show Gist options
  • Save Unitech/024a7d3a11cbe84c5964 to your computer and use it in GitHub Desktop.
Save Unitech/024a7d3a11cbe84c5964 to your computer and use it in GitHub Desktop.
Entering in node wrap logic (cluster_mode) for script /root/pm2/examples/kill-not-so-fast.js
Debug port must be in range 1024 to 65535.
Usage: node [options] [ -e script | script.js ] [arguments]
node debug script.js [arguments]
Options:
-v, --version print node's version
-e, --eval script evaluate script
-p, --print evaluate script and print result
-i, --interactive always enter the REPL even if stdin
does not appear to be a terminal
--no-deprecation silence deprecation warnings
--trace-deprecation show stack traces on deprecations
--v8-options print v8 command line options
--max-stack-size=val set max v8 stack size (bytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment