I\'m using Visual Studio 2017\'s integration to build and debug a CMake Linux application locally in the Windows Subsystem for Linux.
When running the application, Visua
If you are debugging in gdbserver
mode, the default, try switching to gdb
mode in the project properties / debugging page.
Basically, gdbserver
mode is a nice idea that never quite delivered. Here's one discussion about it on the VCLinux GitHub site. As you'll see, gdb
will become the default debugging mode once they've fixed the problems with console applications.