1
Vote

Can't debug attach to an azure web site after restart

description

If you go to the azure portal and click restart, then try to debug/attach to it, it will fail:
---------------------------
Error
---------------------------
Could not connect to remote Python process at wss://2xdqindt0pc@huvalostarter.azurewebsites.net/ptvsd. Make sure that web sockets are enabled for the corresponding web site in Azure portal.
---------------------------
Retry   Cancel   
---------------------------
If you click Retry, it works.

comments

huguesv wrote Jun 17 at 10:45 PM

I haven't been able to repro this today. I tried venv based on 2.7, 3.4. Also tried different regions (West Japan, North Europe, West US).