how to properly debug python code code example Example: debugging python import ipdb; ipdb.set_trace()