For several months now, we've had a close reason (actually an off-topic reason, but no matter) for poorly-asked debugging questions:
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This is a subset of "unclear what you're asking" that focuses on specific requirements for folks seeking help with debugging their code. I gotta be honest: I don't use this much, purely because it's faster to click "unclear what you're asking". But a recent discussion here indicated that a good many folks simply don't realize that this reason (or "unclear...") apply to these questions at all! That's not great.
One of the answers in that thread suggested adding an explicit debugging close reason. The suggestion was long, but perhaps that's what's needed to achieve clarity here; I've re-worked it a bit:
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example.
To be clear: debugging questions can be useful to others - but they need to identify a specific problem clearly enough for others to find them (and for duplicates to be identified when applicable). Without that, they're just a waste of time and space. My hope is that this reason is more acceptable to folks who disagreed with my rather broad interpretation of "unclear"...
This reason has now been activated, replacing the previous "lacks sufficient information" off-topic reason. Thoughts?