wait for debug