无法在 VS2015 for Azure Web 应用程序中开始调试 [英] Unable to start debugging in VS2015 for Azure web app
问题描述
我正在使用 VS2015 Update 1 尝试调试我在调试模式下上传到 Azure Web 应用程序(不是虚拟机)的网站.我在我的工作领域工作.
我一直在遵循类似于在此处找到的说明
然后我使用 Fiddler 来查看是否可以从网络流量中找到答案,但对此并不满意.
如果有任何建议可以帮助我解决这个问题,我们将不胜感激!
编辑单片机下——
在阻止调试器的域上有另一个我不知道的防火墙.
请求的端口出站:
- UDP 3702
- TCP 4020
- TCP 4021
I'm using VS2015 Update 1 to try and debug my site which I've uploaded in Debug mode to an Azure web app (NOT a vm). I am working from my work domain.
I've been following instructions similar to found here https://samlman.wordpress.com/2015/02/27/another-cool-way-to-remotely-debug-azure-web-sites/
I have:
- Published my website in Debug configuration
- Enabled Remote Debugging from the management console
- Made sure my VS edition is set to 2015
- Enabled Websockets (from trying to connect via websockets)
- Checked that the firewall allows VS remote debugger, remote debugger monitor and remote debugger discovery through.
- Checked the website is up and running (set it to always on just in case)
I have tried right clicking my app service in Server Explorer and "Attach Debugger".
I then tried to connect using Debug > Attach to process and using the qualifier mysite.azurewebsites.net as instructed on various blogs. Even tried transport as Websocket, Remote as well as Default.
All methods get me the following:
I then used Fiddler to see if I could find the answer from web traffic but no joy with that.
Would appreciate any suggestions to get me around this problem!
Edit Under scm -
There was another firewall I wasn't aware of on the domain that was blocking the debugger.
Edit:
Ports requested outbound:
- UDP 3702
- TCP 4020
- TCP 4021
Port assignments are given here on MSDN page
这篇关于无法在 VS2015 for Azure Web 应用程序中开始调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!