尝试在 azure 上运行 rail.js 节点应用程序时出现 iisnode 错误 500。不幸的是,LogFiles/nodejs 和 wwwroot/server.js.logs 中的日志文件中没有任何内容
这是回复
iisnode encountered an error when processing the request.
HRESULT: 0x2
HTTP status: 500
HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The node.exe process has not written any information to the stdout or stderr.
该应用程序在本地运行良好,我还可以将 vanilla hello world 节点应用程序(不是 rail.js 应用程序)部署到 Azure。如何获得有关错误的更多信息,无论如何我可以看到控制台输出?