https://nodejs.org/api/report.html#report_usage
https://nodesource.com/blog/experimental-features-in-node.js/
假设在命令行上运行“ node --experimental-report”以启用process.report API ...从console.cloud.google.com打开Google Cloud Shell,该控制台已预安装NodeJS版本v10.14.2 ...
node --experimental-report --report-uncaught-exception --report-on-signal --report-on-fatalerror
或
node --experimental-report
...
只是期望一个正常的REPL环境,其中定义了process.report,相反,它仍然未定义,我得到:
节点:错误的选择:--experimental-report
节点:错误的选择:--report-uncaught-exception
节点:错误的选择:--report-on-signal
节点:错误的选择:--report-on-fatalerror