这个问题可能以前就被问过了。我即将部署一个安装了pm2的NodeJS10.16应用程序到生产环境中。下面是关于nodejs部署不能做的article: Not removing console.log statements
While developing an app, we use console.log statements to test things out. But sometimes we forget to remove these log statements in production, which consume the CPU time and waste the