If I'm stuck with an error in my code, I use ChatGPT to help me break down what could possibly going wrong, and then brainstorm fixes/alternatives. It's so much better than Googling around for a semi-related StackOverflow post.