Setting Breakpoints and Exception Hooks in Python

There are different ways of debugging code in Python, one of which is to introduce breakpoints into the code at points where one would like to invoke a Python debugger. The statements used to enter a debugging session at different call sites depend on the version of the Python interpreter that one is working with, as we shall see in this tutorial. 

In this tutorial, you will discover various ways of setting breakpoints in different versions of Python. 

After completing this tutorial, you will know: