If debug mode then show state viewer buttons