Commented-out debugging code is usually useful for someone, and that is why it was left in the code.  It doesn't hurt anything to leave it there.