Debug protocol