I am using python version 3.7.1 in spyder.
When I run a script and I need to debug I simply enter the line below the line before where an error happens.
breakpoint()
So far for my basic needs this has been sufficient. I can see the current values of the variables or type commands in the ipdb> command line section.
However I can't work out how to use a conditional break point? I have tried reading various sites but don't quite understand what I need to do. They also tend to mention pdb not ipdb. How can I use a conditional break point?