Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 Preview Remote Debugger

In Visual Studio 2017, I run the remote debugger server (MSVSMON) on my local machine as an administrator so that I can attach the debugger to IIS without Visual Studio needing to run as an administrator.

When running Visual Studio 2019 Preview, the attach the debugger dialog doesn't seem to detect the MSVSMON process and so can't connect.

Is there a new version of MSVCMON? I've tried using Bing / Google with no luck. Is it just a bug in 2019 that it can't detect but it should?

Any suggestions how I can resolve this would be appreciated. This is a critical part of my workflow.

like image 851
Mog0 Avatar asked Dec 13 '18 14:12

Mog0


People also ask

How do I debug a remote process in Visual Studio?

Select Configure remote debugging to configure the firewall and start the remote debugger. When configuration is complete, the Remote Debugger window appears. The remote debugger is now waiting for a connection. Use the server name and port number shown to set the remote connection configuration in Visual Studio.

How do I disable remote debugging in Visual Studio?

05 On the General settings panel, under Debugging, select Off next to Remote debugging setting to disable remote debugging using Microsoft Visual Studio for the selected Azure App Services web application. Click Save to apply the changes.


Video Answer


2 Answers

In my case, no link worked for me as they all linked me to a download page for Visual Studio 2022. If you guys are searching for the msvsmon.exe files, I found them at:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Remote Debugger

Both for x64 and x86

like image 118
Markus Wurm Avatar answered Sep 24 '22 14:09

Markus Wurm


The link above did not work for me. Downloaded it now from the following page:

Visual Studio 2019 Remote Debugger

like image 36
Chris Avatar answered Sep 23 '22 14:09

Chris