Hey, I was using clion for C++ development for the longest time and everything just kinda...worked.
Now I'm trying to make the switch to VSC for it because to me that seems more convenient than trying to get vim motions and all my shortcuts working on clion too and maintaining both.
I installed the c/c++ extension and the cmake extension, I got everything to compile just fine and it also works fine. The launch configuration can start the application but simply refuses to hit breakpoints. Im really not sure where to go from here.
cmake kit im using:
{
"name": "Debug Kit",
"cmakeSettings": {
"CMAKE_BUILD_TYPE": "Debug"
},
"toolchainFile": "C:/Users/Admin/.vcpkg-clion/vcpkg/scripts/buildsystems/vcpkg.cmake",
"visualStudio": "138e18eb",
"visualStudioArchitecture": "x64",
"isTrusted": true,
"preferredGenerator": {
"name": "Ninja"
}
},
The launch configuration:
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/build/Debug/Main.exe",
"args": [],
"cwd": "${workspaceFolder}/build/Debug",
},