How to use pdb or gdb debug from python into C/C++ code?

I have the same problem now. I can’t find the corresponding c++ function to put breakpoint. Did you manage to find the way?