I am trying to do Remote debugging using Visual Studio 2017
I downloaded the Remote Tools for Visual Studio 2017 and installed it in the remote server. In the remote server firewall, I configured to allow Inbound & outbound for msvsmon
. I also allowed inbound for
135, 139, 445 TCP
137, 138,500, 4500 UDP
In my machine I configured Firewall to allow Inbound and outbound for Visual Studio 2017
In the visual studio, attach to process, I tried the below
I also tried using default connection type, but it is not able to connect to the remote machine. What am I missing?
I am adding few more details
the remote machine is running Windows Server 2012 R2 My machine is running on Windows 10, I am using Visual studio 2017
This is the error message that I am getting
I am running the msvsmon as administrator in the remote machine
In the server msvsmon is showing the server name:port Number
, but in the visual studio I am connecting using its ip:port number
. Hope that is ok
You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select Debug > Attach to Process or press Ctrl+Alt+p in Visual Studio, and use the Attach to Process dialog to attach the debugger to the process.
In simple terms, remote debugging is debugging an application that runs in a place other than your local environment. This is usually done by connecting the remotely running application with your development environment.
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.
Change Connection type to Remote (no authentication)
.
Change msvsmon.exe option to No Authentication
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With