Unable to start debugging in VS2015 for Azure web app

戏子无情 提交于 2019-12-14 03:43:03

问题


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 -


回答1:


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



来源:https://stackoverflow.com/questions/34727314/unable-to-start-debugging-in-vs2015-for-azure-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!