moved the rest of the debug flags to the debug class.