VS code is ignoring the breakpoint in c++ debugging
Comiple the program using -g
tag alongwith g++/clang++
This problem literally ruined my day. It turned out that all I had to do is just Terminal
> Run Build Task
or Ctrl+Shift
+ B
and then start debugging.