I'm using pm2 as the process manager of Node.js.
In many cases, I think I will run it as a daemon process, but if you use it locally as debugging, I think that there are times when you use the --no-daemon
option.
How do I end the process when moving pm2 with this --no-daemon
option?