That's fine, just be aware that the way you phrase your question is indirect and smells of the typical interview BS. If you'd like to find out how the candidate handles bugs, ask for that directly. Otherwise you're no longer in the realm of a technical question anymore, but in the "can you, on the spot, come up with a plausibly-sounding story that puts you in good light?".
The ability to recall/make up/tell good stories (under pressure!) has nothing to do with engineering.
The ability to recall/make up/tell good stories (under pressure!) has nothing to do with engineering.