I'm testing with Visual Studio 2015 SP1
Pre-requisites
In services.msc
, find the "Visual Studio 2015 Remote Debugger" service. Change startup type from "Disabled" to "Manual", then start the service.
You need to be able to ping the server from the dev machine. You also need shared authentication (I think). I was logged into a Domain account that had authorization to both the dev machine and the server.
- Debug → Attach to Process
- Paste the short name of the server into the Qualifier box
- Click Refresh (checking Show processes from all users if unchecked)
- Find the process on the server you're interested in and click Attach
Under Tools → Options → Debugging, uncheck "Use Managed Compatibility Mode"
Get more information about what dlls and symbols are loaded by looking at:
Debug → Windows → Modules
I got a proof of concept working by loading symbols on the dev machine from the server by using a UNC path like: \\SERVER\d$\path\to\web\bin\something.dll
I don't have a good solution for this yet though. Some possible leads online: