Debug button added and  trying to execute ai failed