The debug environment is local vs2012+qt5.2.0, remote is the virtual machine in window sever2012:
1. Start by looking at the VS documentation, knowing that the Msvsmon tools are copied to the remote machine, run and set to no-authentication in the tools---options;
2. Compile the project locally, copy exe and DLL files to the remote machine (usually debug or Release folder), run EXE on the remote machine;
3. In the local VS Open project, set breakpoints, debugging, attach to process--Remote Debugging mode, enter the remote machine's IP address, the refresh will have the remote machine active process, choose to debug the process loaded up;
4. The local project can be debugged according to the information transferred from the Remote Msvsmon Remote debugging tool. Debugging the principle is probably: The remote EXE file contains debugging information and local is the same, so after mounting, EXE gets the information back to the local, and then debugging.
PS: See the document has a variety of settings related to project properties, but we do not use, there may be remote debugging there are two ways, one is the development environment directly start the remote process form, the other is I use the process of additional forms; It may be the first form of the various settings directory.
VS Remote Debugging Summary