When my diesel did that it was the lift pump in the tank that had failed. A temporary fix was to keep the fuel tank topped up so it never went below half full. Once the pump arrived it was pretty straightforward to fit it, although you'll end up smelling of diesel.
Running a 2.5 now, so I have a different set of problems.