debug waiting