I use \'forever\' to run my application. I want to attach to the running environment to inspect my application. So what can I do?
If you are on Windows that doesn't support POSIX signals, you can use this workaround from another cmd.
node -e "process._debugProcess(PID)"
launch.json configuration or create new by clicking on the wheel{
  "type": "node",
  "request": "attach",
  "name": "Attach to 9229",
  "port": 9229
},
"build" folder where the index.js is.
cmd or git-bash and run this command,21392 is the PID of your process.node -e "process._debugProcess(21392)"
Everything should be ready now.