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