我关注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 窗口中右键单击您的应用并选择“在 Kudo 中打开”。
查找IP:https://[YourAppServiceName].scm.azurewebsites.net/Env.cshtml
但是,一旦您在云资源管理器中单击“附加调试器”,您应该能够下拉“限定符”(在 vs2017 中重命名为“连接目标”)组合框,然后选择正确的选项 ([YourBotName].azurewebsites) .net:4022 在我的例子中):
关于visual-studio - 无法将调试器附加到 Azure Web 服务聊天机器人应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43135186/