Reputation: 2486
What can be the reason I cannot enable debugger for some of my VM's in server explorer?
I try to follow this guide:
https://learn.microsoft.com/en-us/azure/vs-azure-tools-debug-cloud-services-virtual-machines
When I right click on the VM in Visual Studio Server Explorer I do not get the same options as in the tutorial:
This is the menu I expected to see (from the tutorial):
Upvotes: 2
Views: 270
Reputation: 9411
This is because that your VMs are ARM VM, not Classic VM.
I did a test in my Lab, and found that I cannot enable debugger on my ARM VM neither. But I can enable debug on a classic VM. (Pay attention to two different types the icon of VMs)
For a classic VM, you can enable debugger on it and then Attach debugger.
The official document doesn't clarify this feature is only for classic VM. But the icon for the screenshots are all for Classic VM.
So, we cannot enable Debugger on a ARM VM from Visual studio. If this feature is very important to you, you can post your idea in this Feedback Forum.
Hope this helps!
Upvotes: 2