resume handler debug