canvas :HTMLCanvasElement The canvas to which Debug calls draws. Source code:
renderShadow : boolean Should the text be rendered with a slight shadow? Makes it easier to read on different types of background
cameraInfo(camera, x, y, color) Render camera information including dimensions and location.
destroy() Destroy this object. Source code:
inputInfo(x, y, color) Render debug information about the Input object. Parameters
timer(timer, x, y, color) Render Timer information. Parameters
ropeSegments(rope, color, filled) Renders the Rope's segments. Note: This
box2dBody(sprite, color) Renders 'debug draw' data for the given Box2D body.This uses the standard
key(key, x, y, color) Renders Phaser.Key object information. Parameters
new Debug(game) A collection of methods for displaying debug information about game objects. If your game is running in Canvas
Page 1 of 4