Compartilhar via


Como: Ativar depuração remota

Visual Studio provides support for remote debugging, that is, the ability to debug an .exe on another computer connected to your network. The Use remote machine property on the Debug page of the Project Designer enables remote debugging of an .exe. When this option is selected, you must specify the name of the machine on which the .exe will run. The location of the .exe on the remote machine must match the value of the Make exe path property, which is on the Compile page of the Project Designer.

In order to debug on a remote machine, the following conditions must be met:

  • The remote machine must have debugger components installed.

  • The user of the local machine needs to be in the Debugger Users group on the remote machine.

  • The .exe must be in a shareable directory on the remote machine.

For more information, see Instalação de Depuração Remota.

To enable remote debugging

  1. Make sure that the remote machine is properly configured for remote debugging. For more information, see Instalação de Depuração Remota.

  2. With a project selected in Solution Explorer, on the Project menu click Properties.

  3. Click the Debug tab.

  4. Select the Use remote machine check box.

  5. No Use remote machine , informe o nome da máquina remota, usando o formato \ \domain\machinename.

Consulte também

Tarefas

Como: defina opções iniciar para depuração Application

Outros recursos

Gerenciando propriedades Depuração

Instalação de Depuração Remota