Adding the ability to debug the layout.