debug code and debug push interface