I would add to this, depending on the friend... sometimes instead of asking what you can: offer specifics.
I know in the depths of my depression it's so hard to articulate what I want and need. I don't feel worthy or deserving of it. But friends who offer to spend some time, or send some $ for takeway, etc... specific things can cut through that depression fog so much better than vague "how can I help?"