To unlock the debug mode simply type “hidden test” (with the space) and click on the ball, it is now in your control.
This also unlocks a few other cheats.
Press h to edit the high score list.
Press m to see system memory usage.
Press r to increase game ranking.