Skip to content

Instantly share code, notes, and snippets.

@warpdesign
Created June 16, 2014 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save warpdesign/ca2d7000d3df048a084c to your computer and use it in GitHub Desktop.
Save warpdesign/ca2d7000d3df048a084c to your computer and use it in GitHub Desktop.
Passing arguments to nodejs using pm2
# will send--debug=7001 --trace-deprecation to nodejs executable
pm2 start myServer.js --node-args="--debug=7001 --trace-deprecation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment