
Aidan L. answered 01/03/25
CS Grad @ UC Berkeley | Coding, STEM, Test Prep Tutor
Hi Thomas! If you want to debug using more than just the error logs and print statements, you can use a debugger to step through your program and inspect its behavior in real time. Python’s pdb module is a great option; you can use pdb.set_trace() at key points to pause execution and examine variable values or conditions interactively. If you’re using VSCode, its debugger allows you to set breakpoints and step through code visually. I hope this helps!