1 Answer
+ 1
Pycharm has a debugger. Also, you can always "step" through your code, line by line. You can also take advantage of the "logging" library
https://www.jetbrains.com/help/pycharm/part-1-debugging-JUMP_LINK__&&__python__&&__JUMP_LINK-code.html
https://www.jetbrains.com/help/pycharm/debugging-your-first-python-application.html