Debugging with Jupyter console

Hey,
I’m going through the intermediate CLI course and got curious about the process of iterative code testing and debugging with the Jupyter console.
I currently use Spyder specifically for the visual debugging option, and would very much like to see an example of how to do it in the console.
Can anyone write or file the work process for me to learn from?

Much appreciated!