CMake Debugger for Projects Targeting Remote Linux Systems
summary
Visual Studio’s CMake debugger attaches to remote Linux targets over WSL or SSH and requires CMake >= 3.27 plus GDB, rsync, zip, socat and a compiler on the remote. Add SSH connections via the Connection Manager or use WSL, enable “always use CMake presets” if needed, then choose Configure with CMake debugger to hit breakpoints inside CMakeLists.txt, inspect the locals window and watches, and fix issues like linking SDL vs SDL2 by changing the target or adding an alias.
AI-written summary · about
related talks
05mTargeting macOS from Visual Studio
24mC++ Cross-Platform Development with Visual Studio and WSL
11mC++ with Visual Studio 2019: target Linux and Windows, and be more productive with IntelliCode
36mC++ Development with Visual Studio Code
01h 04mLatest & Greatest in Visual Studio 2019 for C++ developers
30mWhat's New in Visual Studio Code - Remote Dev, IntelliSense, Build/Debug...
01h 29mModern Linux C++ Debugging Tools - Under the Covers
57mModern Linux C++ debugging tools - under the covers
