new Debug(game)
A collection of methods for displaying debug information about game objects. If your game is running in Canvas mode, then you should invoke all of the Debug methods fromyour games render function. This is because they are drawn directly onto the game canvasitself, so if you call any debug methods outside of render they are likely to be overwrittenby the game itself. If your game is running in WebGL then Debug will create a Sprite that is placed at the top of the Stage display