Debugging code is fun for the same reason hitting yourself in the head with a hammer is: It feels really good when you stop.