Back
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 a similar fashion?
You can use the below-mentioned code where you can see a module called 'pdb' in python. At the top of your python script, you do
import pdb pdb.set_trace()
import pdb
pdb.set_trace()
31k questions
32.8k answers
501 comments
693 users