I have seen a few questions closed for this reason where I disagreed. Let's say there is a question like:
How do I debug a program?
It is stupidly generic and shows zero research effort. But I think it can be usefully answered, and the question and the answers will be helpful to future visitors. The answer will not be of the "run this command line" sort, rather it will be a longer guide. But I think these answers fit well on Stack Overflow too.
Of course the more vague a question is, the more likely it has already been answered. Closing it as a duplicate is perfectly appropriate in this case.