This is a handy plugin that allows you to log out the Phaser Scene Graph to the browsers dev console. You can dump either the entire tree, or just a part of it, by simply calling game.debug.graph()
. If you've named objects (i.e. emitter.name = 'starts
) then those names are used in the output to make it even easier to read.
Scene Graph Plugin
A handy plugin that displays the whole Phaser Scene Graph in the browsers dev tools.