Reputation: 1842
I have an Azure webrole in my VS project. I have assemblies in my webrole website which are throwing null reference errors so I need to debug these assemblies to discover where the problem is. The issue I am having is that once I run my Azure project in debug mode I cannot attach to w3wp.exe from another instance of visual studio (attach button grays out) as my Azure project is already debugging the process.
Is there some way to launch my Azure project without debugging it allowing me to attach to w3p.exe from the visual studio project that is throwing errors?
Upvotes: 1
Views: 136
Reputation: 4666
You can use Ctrl+F5 (or Debug -> Start Without Debugging) to start your Azure project from VS. It will deploy your application in local emulator but will not attach the debugger. Then you can attach to w3wp.exe manually.
Upvotes: 3
Reputation: 2675
There is. You can use the CSRun command line tool to run your webrole in the dev fabric without launching the debugger.
HTH
Upvotes: 1