How to connect a debugger to an application running on a Windows Azure VM?

I have minimal experience with Windows Azure.

I have a virtual machine running connected to it using Remote Desktop by inserting the C # executable there.

Then I installed Visual Studio Remote Debugging Tools, launched it, configured it to allow authenticated connections from any user, and configured the endpoint on the mentioned port (4018).

But I seem to be unable to connect the visual studio to the instance. I tried to enter the VM address: port, but this did not work.

Is it possible to do this, or should the remote computer be on the same network, and not over the Internet? Is there a guide explaining the process? Most of what I found related to debugging an azure application, but nothing seemed to be about an arbitrary program.

+4
source share
3 answers

Remote debugging using Visual Studio remote debugging tools is not supported over the Internet - http://msdn.microsoft.com/en-us/library/vstudio/bt727f1t.aspx

Therefore, you may have to switch to the old style of writing magazines and analyze them.

+2
source

Can you do this. See "How to debug an Azure virtual machine."

http://msdn.microsoft.com/en-us/library/azure/ff683670.aspx#BK_Debugging_Cloud_Azure

, .

Azure, , , , ' Debug → Attach Process ". ( " Qualifier" , , , Azure VM .)

+1

, ? , .

http://www.windowsazure.com/en-us/manage/windows/how-to-guides/setup-endpoints/

But you might consider installing VS in another virtual machine in Azure, as this can speed things up.

0
source

All Articles