How can I debug multiple Azure roles in Compute Emulator at the same time?

I have a WCF service and WorkerRole that I need to run at the same time. However, I can only install one of them as a StartUp project.

What can be done?

+6
source share
1 answer

You should not install any of your roles as a startup project. Rather, you should install the cloud project itself as a launch project. You can then set breakpoints in both of your roles.

To test, I just created a completely new cloud project with a WCF web role and a worker role. I set a breakpoint in OnStart () of each and hit both breakpoints.

+7
source

Source: https://habr.com/ru/post/889170/


All Articles