I'm unable to use the debugger with CMake projects, it ignores the breakpoints because the executable is build without debugging info. Imported project has only one configuration (there are no Debug and Release configurations)
The way around this is to create a custom build step that runs before make. It should invoke cmake.exe passing "-DCMAKE_BUILD_TYPE=Debug ." as an argument.
Why is this needed? Is there something I can add to my CMakeLists.txt to configure this properly and have both Debug and Release configurations?