Hacker News new | ask | show | jobs
by worldsayshi 1276 days ago
I try to use it like this sometimes but then I realise I now have two problems. I have to debug my own code and its code.
1 comments

it can usually debug itself if you give it an error message
Assuming the problem with the code causes an error message. That’s actually the easier case - the hard case is incorrect logic but syntactically ok.
It's surprisingly good at helping figure out what went wrong. Try asking it "something went wrong and I'm not sure what. What should we try next?"