Unitech / pm2

Node.js Production Process Manager with a built-in Load Balancer.
https://pm2.keymetrics.io/docs/usage/quick-start/
Other
41.6k stars 2.62k forks source link

Monitor the exit of child processes #5883

Open molixiaoge opened 2 months ago

molixiaoge commented 2 months ago

What's going wrong?

If I start a debug process through dlv, and the debug process exits, I hope dlv can automatically restart dlv and child process debug

How could we reproduce this issue?

Start dlv with fork process debug,Then kill the debug process dlv exec ./debug --listen=:9190 --headless --accept-multiclient --continue --api-version=2 --log

kill -9 $(pidof debug)

Supporting information

# Run the following commands
$ pm2 report