add debug func to view test output quickly