in reply to Komodo seems unpopular here

I actually use Komodo for editing but I still rely mainly on print for debugging purposes.

Combining print with extracting each "complex" bit of code/subroutine into a separate small script for testing has always worked well for me - I also found debugging slow and clunky in komodo.