I am running a node webserver using pm2. Since pm2 spawns another process and redirects stdout and stderr to files, I have to look somewhere else for the logs. Ideally, I wo
you can easily achieve that by starting another terminal/console and run this command
pm2 log // logs everything to the terminal except console.log pm2 logs // logs everything to the terminal even console.log