Python Version
To debug C/C++ Python extensions, install the debugging information for your version of the Python interpreter. This provides the necessary insight into the Python data structures for the debugger to extract Python stack and variable information.
Packaged versions of the debugging symbol interpreter can be installed with:
CentOS/RedHat Enterprise/Fedora Linux:
sudo yum install python-devel
sudo debuginfo-install glibc
sudo debuginfo-install python
Ubuntu:
sudo apt-get install python-dev
sudo apt-get install python-dbg