Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Remote debugging tool as a service allowing certain users

$
0
0

We have a development server in our domain which hosts all of our applications and websites.

For develoment, we would like to be able to remotely debug the application running in this environement as they might differ from our local testing setups. Therefore we use the remote debugging tool supplied by Microsoft.

Running this tool as an application, we can add additional permissions for a certain group in our domain (the developers) to be able to connect to it remotely without a problem. These settings however are not persisted when the server is rebooted, the application is restarted or the user under which we run the tool logs off.

Therefore we want to run the remote debugger as a service so we can always connect to it from our Visual Studio 2013 Professional. Running the tool as a services does not give us any problems, we cannot however connect to it under our own domain accounts. Loggin in as Administrator works perfectly but is not the desired method.

I've searched the internet for hours trying to find a solution but I could not find any.

The following question explains exactly what we want to achieve: http://stackoverflow.com/questions/12733406/vs2012-remote-debugging-without-an-administrator-account sadly, no answer was given.

After searching further I discovered this post, which describes all commandline parameters that are possible: http://social.msdn.microsoft.com/Forums/vstudio/en-US/174c2039-b316-455a-800e-18c0d93b74bc/visual-studio-2010-remote-debugger-settings-dont-persist?forum=vsdebug

The most interesting parameter here was the "/allow user_name" parameter, which would allow me to pass a user/group in the domain to be given trust for remote debugging. I could not however find a way to pass this parameter to the service that is created by the configuration wizard. I tried editing the given service to call "msvsmon.exe" directly with the same parameter list as the rdbgservice.exe call passes but this does not apear to work.

C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe /CHILDSERVER e8 "+:4018" {07C4B83C-3592-45E6-89F8-1889829605B7} 0x0 4019 e4 d4 d0 e0 /silent+ /servicemode+

I am out of ideas, if anyone could guide me in a new direction, or provide me with a solution, it would be highly appreciated!


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>