Print out correct section names in debug mode