Add disable/enable debug mode