英文:
Azure Remote Debugging in VS With Scaled Out Application
问题
我怀疑这是可能的,但我可以在 Visual Studio 中附加一个远程调试器来调试一个扩展的应用程序吗?我在 Azure 中运行了两个应用服务实例。我可以附加带有符号的调试器,但从未触发我的断点。有人尝试过这个吗?我已经搜索了一些内容,但没有找到有用的信息。
英文:
I doubt it is possible, but can I attach a remote debugger in Visual Studio with a scaled out app? I have 2 instances of my app services running in Azure. I'm able to attach the debugger with symbols but I never hit my breakpoints. Has anyone tried this? I've done some searching but haven't found anything helpful.
答案1
得分: 1
- 在将Web应用程序发布到Azure后,您需要配置
远程调试
为开启,并按照下面所述选择Visual Studio版本。
- 下载配置文件并使用应用程序名称。
applicationName
.azurewebsites.net:4024
如下所示
然后,您需要输入凭据以连接到Azure,使用从下载的配置文件中获取的凭据。
- 选择
工作进程 (W3wp.exe)
进行调试。 - 访问已发布的Azure Web应用程序的URL,然后它会附加带有符号的调试器,然后在本地Visual Studio中触发调试。
英文:
- After publishing the Web app to azure, you need to configure the
Remote debugging to
On and Visual Studio version as mentioned below.
- Download profile and use the application name.
applicationName
.azurewebsites.net:4024
As below
Then you need to enter the credentials to connect the Azure, using the credentials from the downloaded profile.
- And choose the
worker process (W3wp.exe)
for debugging. - Hit the URL of the published azure web App.
then it attaches the debugger with symbols and then the debugger is hit in local Visual studio.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论