
We will cover some of these in the sub-sections below. Whether you are targeting Windows or Linux, or using MSBuild or CMake, Visual Studio offers you the flexibility to customize your deployment. Note: Although with Visual Studio 2019 you can create MSBuild and CMake projects targeting Linux and Windows, CMake is encouraged for Linux development because the same project files can be used in both platforms. Tutorial: Debug a CMake project on a remote Windows machine | Microsoft DocsĬonfigure CMake debugging sessions in Visual Studio | Microsoft Docs Remote Debug a C++ Project – Visual Studio | Microsoft Docsĭeploy, run, and debug your Linux MSBuild C++ project in Visual Studio | Microsoft Docs In Windows scenarios specifically, we automatically deploy the Universal CRT library (debug only, as the release version ships with the Windows operating system) as well as VCRuntime libraries which are necessary to run and debug binaries in environments where these libraries are not available on the system.įor step-by-step instructions of the various remote debug workflows, check out the following tutorials: Luckily, we do that for you and automatically deploy these dependencies alongside the built binaries from your project we deem as needed for debugging.

To guarantee a seamless remote debugging experience for users, you need some additional dependencies to be copied to the target machine.


Visual Studio 2019 offers remote debug support for MSBuild and CMake projects targeting Windows and Linux.
