VS_DEBUGGER_ENVIRONMENT — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpVS_DEBUGGER_ENVIRONMENT. ¶. New in version 3.13. Sets the local debugger environment for Visual Studio C++ targets. The property value may use generator expressions . This is defined in <LocalDebuggerEnvironment> in the Visual Studio project file. This property only works for Visual Studio 2010 and above; it is ignored on other generators.
Configure CMake debugging sessions in Visual Studio ...
docs.microsoft.com › en-us › cppOct 29, 2021 · First, switch to CMake Targets View in the Solution Explorer window. Then, right-click on an executable and select Debug. This command automatically starts debugging the selected target based on your active configuration. Customize debugger settings You can customize the debugger settings for any executable CMake target in your project.