Add a debug option which limits the iterations of the main game loop