I do something similar, though I write most of the actual code myself. If there's a problem, I paste in an error message and ask for the best guess as to what's wrong. Then I ask what specific functions/classes/etc are involved and I read those parts of the code and implement the fix.
When you have a sprawling codebase that's gradually grown over time, it can take hours to find which file is responsible for a specific behavior, so having an LLM to pinpoint it is fantastic.