Added play pause animation feature in debug

Press x to toggle playing of animation
Press c to see the next frame in the animation