how to run my file with debug mode python code example Example: debugging python import ipdb; ipdb.set_trace()