In Java/C# you can easily step through code to trace what might be going wrong, and IDE\'s make this process very user friendly.
Can you trace through python code in
There exist breakpoint() method nowadays, which replaces import pdb; pdb.set_trace().
breakpoint()
import pdb; pdb.set_trace()
It also has several new features, such as possible environment variables.