Modifying structure of central debug function