Added DEBUG constant to the Pygame implementation.