This might come in handy sometime if you really need to debug something on a server where you can’t run (or connect to) a remote debugger.
- Upload the codebase (src and sln) to the web server (from the correct branch)
- Open sln in Visual Studio 2012 Express on the server
- Change web config debug = true
- Open web site project properties, web, set the server to Use Custom Web Server, put the site URL in
- Press play
- You are now debugging on the server