add Debug to autotest