Instantly share code, notes, and snippets.

Embed
What would you like to do?
run pm2 with watch and inspect
./node_modules/pm2/bin/pm2 delete all; ./node_modules/pm2/bin/pm2 start ./{path to server js} --watch --node-args='--inspect' --no-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment