Install libpython2.7-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install libpython2.7-dbg
Description:
Debug Build of the Python Interpreter (version 2.7)
The package holds two things: . - Extensions for a Python interpreter configured with --pydebug. - Debug information for standard python extensions. . See the README.debug for more information.
Version: 2.7.15~rc1-1
Section: debug