It's a bit surprising seeing all the positive replies to this thread. In my experience (using GPT-3), the time I spend debugging the code generated by the AI is almost the same as if I was to write it correctly in one go. The comprehension aspect kinda helps me sometimes, like when I need to understand some obscure shell script.
I didn't see a Json format error and chatgpt just told me exactly what the issue was.
It also helps me rubber duck debugging Things