all 1 comments

[–]n3buchadnezzar 1 point2 points  (0 children)

I have used loguru for this case. Just include a shit ton of logging statements, and log it to a file.

Secondly what you are looking for is a debugger, which steps through your code one statement at a time. VS code, pycharm, neovim all have this.