I built my C++ project (CMake) in VSCode on Linux, but when I start the application (debugging), the breakpoint in my main() function is immediately disabled. Yes, the source is built with -g switch.
The question is: can breakpoints be used in VSCode?
If yes, could you please explain in detail how?