Add a toggle for debug mode to the sidebar