Skip to main content

Debugging

PixiJS provides a debug renderer that can be used to visualize the layout of your application. This is useful for debugging layout issues and understanding how your layout is structured.

See the Debug Renderer section for more information on how to enable the debug renderer.

Once enabled, the following properties will be available on all layout-enabled nodes:

PropertyDescription
debugHeatEnables or disables the debug heatmap for this node. Useful for visualizing the layout performance.
debugEnables or disables the debug renderer for this node.
debugDrawMarginEnables or disables the debug margin for this node.
debugDrawPaddingEnables or disables the debug padding for this node.
debugDrawBorderEnables or disables the debug border for this node.
debugDrawFlexEnables or disables the debug flex for this node.
debugDrawContentEnables or disables the debug content for this node.