visual-studio - 无法将调试器附加到 Azure Web 服务聊天机器人应用程序

标签 visual-studio azure remote-debugging botframework

我关注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."

我应该在这里输入什么:

1

这是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 中打开”。

enter image description here

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

但是,一旦您在云资源管理器中单击“附加调试器”,您应该能够下拉“限定符”(在 vs2017 中重命名为“连接目标”)组合框,然后选择正确的选项 ([YourBotName].azurewebsites) .net:4022 在我的例子中):

关于visual-studio - 无法将调试器附加到 Azure Web 服务聊天机器人应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43135186/

相关文章:

visual-studio - 无法将包推送到 azure 工件提要,不断要求提供凭据

visual-studio - Visual Studio 2017 用户定义的自定义语法颜色

visual-studio - 从 VS 调试器切换到 WinDbg

sql-server - 我们可以将 SQL Server 与 Azure 通知中心连接吗?

php - 如何使 xdebug 与 Zend Studio 一起工作

visual-studio - 在 Visual Studio 2015 下安装 Platform Toolset v120

azure - 访问 U-SQL 执行日志

java - 无需源码远程调试

eclipse - 在 Debug模式下启动 Websphere Liberty 并通过 Eclipse 连接

sql - SQL Azure 中是否支持 PARTITION BY ... ORDER BY