use gdb debug python code