无法将调试器附加到 Azure Web 服务聊天机器人应用

Cannot attach debugger to Azure Web Service chatbot app

我按照 this 进行操作,但我一直收到此错误,如文章中所述。我也找不到 KUDU 的 IP?我应该在哪里看?

这部分具体看不懂:

"Without going into much detail, what you have to do is get the IP address of your KUDU console, which I describe here and use that IP address for the *.azurewebsites.net hostname you are remote debugging by adding the IP HOSTNAME combination to the HOSTS file."

我应该在这里输入什么:

这是VS弹出的错误:

System.Runtime.InteropServices.COMException (0x89710023): Unable to connect to the Microsoft Visual Studio Remote Debugger named ‘***’.  The Visual Studio 2015 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging.

此外,我正在使用 VS 2017,但在 Azure 中看不到它的选项..

kudo 可以通过导航至 https://[YourAppServiceName].scm.azurewebsites.net 或在 Visual Studio 的 Cloud Explorer window 中右键单击您的应用并选择 "Open in Kudo" 来打开。

查找ip:https://[YourAppServiceName].scm.azurewebsites.net/Env.cshtml

但是,一旦您在云资源管理器中单击 "Attach Debugger",您应该能够下拉限定符(在 vs2017 中重新命名为连接目标)组合框,并且 select 正确的选项([YourBotName].azurewebsites.net:4022 在我的例子中):