chatgpt automation debugging