This is not a duplicate of Is it OK to ask a question looking for better ways to do things?
That question asks
Is it OK to ask a question looking for better ways to do things?
while this question asks
How should we be advising users asking too broad or unclear how-to questions while not implying that such questions require code?
The questions are on two completely different topics, ask very different things, and none of the answers to that question would make any sense as answers to this question.
Differentiating between debugging questions and how-to questions with code
Debugging questions and how-to questions with code can sometimes look very similar. I think that the important distinction to be made is in the code contained in the question, more than the prose of the question itself.
If the code in the question is expected to achieve the result but does not function as expected, it is a debugging question. The object of the question is to determine why the code is not functioning as expected and how to fix it.
If the code in the question functions as expected but does not achieve the desired result due to missing the vital piece of logic that is being asked about, it is a how-to question with code. It is important to note that how-to questions do not require code, but when people ask "what have you tried?", this is what they are explicitly asking for. What they actually mean is
This question is too broad. You should break down the problem into its component parts and attempt to solve each separately. Once you have figured out the more specific part that you're having a problem with, you can come back and ask a more specific question about that.
Ideally, the user would leave, conquer the low-hanging fruit of the problem, and come back with a good frame for the solution while making the real problem abundantly clear. It is still important to note that breaking down the problem into its component parts is the pathway to the more specific question, and it is entirely possible that one might end up being able to describe the more specific problem adequately without the use of code.
The more specific problem.
Due to the fact that how-to questions with code look so much like debugging questions, or even that many people see how-to questions as debugging questions that are lacking an mcve, we have been kind of lacking on our advice to users asking how-to questions with or without code. For the longest time the most common advice for any how-to question was "what have you tried?" until that phrase was banned.
So I would like to start a discussion on the topic.
How-to/How-do
questions a magnet for opinionated answers? My way of doing things wouldn't necessarily be the way others would approach the same scenario thus generating opinionated based responses for the question.how-to
as too-broad/opinion if the OP didn't bother trying to come up with a plausible solution and just dumping their problem on SO.