Binary package “python2-dbg” in ubuntu jammy

debug build of the Python2 interpreter (version 2.7)

 Python2 interpreter configured with --pydebug. Dynamically loaded modules are
 searched in /usr/lib/python2.7/lib-dynload/debug first.