0

使用 Rider 运行 ASP.NET Core 应用程序,运行应用程序时不会显示日志。我有以下launch.setting文件:

{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:22742/",
      "sslPort": 0
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    },
    "xxxxx.xxxx.app": {
      "commandName": "Project",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "applicationUrl": "http://localhost:22742/"
    }
  }
}

在控制台上,我只能看到以下代码:

在此处输入图像描述

我怎样才能看到所有的日志,幕后发生了什么?

4

0 回答 0