如何使用 Azure 移动应用程序调试“500 内部服务器错误”?

How do I debug "500 Internal Server Error" with Azure Mobile Apps?

我正在将 Azure 移动应用程序部署到部署槽,但在 Xamarin iOS 中收到以下错误。

500 The request could not be completed (Internal Server Error)

我做了以下事情:

.

<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
  <TelemetryInitializers>
    <Add Type="Microsoft.ApplicationInsights.DependencyCollector.HttpDependenciesParsingTelemetryInitializer, Microsoft.AI.DependencyCollector" />
    <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />
    <Add Type="Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer, Microsoft.AI.WindowsServer" />

查看完整内容list of references here

以后测试调试

Azure 帮助页面似乎没有告诉我如何启用远程调试,这是我接下来要谷歌搜索的内容。

(在这方面可能更有帮助的帮助页面图片;)

我正在 ZUMO 书中为此写一章:https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter8/developing/