Happiness is beneficial for the body, but it is grief that develops the powers of the mind.
The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.