Help! Car starts then dies

Remove fuel line from carb and place a cup under the line. Have someone crank over the engine while you hold line into the cup. You should easily see good amounts of gas pump into the cup. If you get nothing or very little, then you have a problem.
So keep the fuel filter intact? Just pull the line after the filter and put in a cup?