Install libpython3-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install libpython3-dbg
Description:
debug build of the Python 3 Interpreter (version 3.6)
Python 3 interpreter configured with --pydebug. Dynamically loaded modules are searched in /usr/lib/python3.6/lib-dynload/debug first.
Homepage: http://www.python.org/
Version: 3.6.5-3
Section: debug