The Daily Insight
updates /

How do I enable remote debugging in Visual Studio 2017?

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 debug a Visual Studio application on a different computer?

You can debug a Visual Studio application that has been deployed on a different computer. To do so, you use the Visual Studio remote debugger. For in-depth instructions on remote debugging, see these topics.

What versions of Windows does the remote debugger support?

The remote debugger is supported on Windows 7 and newer (not phone) and versions of Windows Server starting with Windows Server 2008 Service Pack 2. For a complete list of requirements, see Requirements. Debugging between two computers connected through a proxy is not supported.

How do I add additional users to the remote debugger?

If you need to add permissions for additional users, change the authentication mode, or port number for the remote debugger, see Configure the remote debugger. The debugger cannot deploy Visual C# or Visual Basic desktop applications to a remote machine, but you can still debug them remotely as follows.

How do I run the remote debugger on a remote computer?

You can run the remote debugger by copying msvsmon.exe to the remote computer, rather than installing the remote tools. However, the Remote Debugger Configuration Wizard ( rdbgwiz.exe) is available only when you install the remote tools. You may need to use the wizard for configuration if you want to run the remote debugger as a service.

How do I debug a Visual Studio project from another computer?

Remote debug the project. Set Up Debugging with Remote Symbols. See also. To debug a Visual Studio application that has been deployed on a different computer, install and run the remote tools on the computer where you deployed your app, configure your project to connect to the remote computer from Visual Studio, and then run your app.

How do I deploy my non-code files to a remote machine?

Alternatively, you can deploy the files as a separate step. In the Solution Explorer, right-click the mymfc node and then choose Deploy. If you have non-code files that are required by the application, you can specify them in a semicolon delimited list in Additional Files to Deploy on the Remote Windows Debugger page.

How do I run the remote debugger from a file share?

(Optional) To run the remote debugger from a file share. You can find the remote debugger (msvsmon.exe) on a computer with Visual Studio Community, Professional, or Enterprise already installed. For some scenarios, the easiest way to set up remote debugging is to run the remote debugger (msvsmon.exe) from a file share.