It sounds like you have to replace the pump in any event, but my guess is the reason you see no gas coming out of that line during cranking is b/c the engine computer isn’t detecting engine rotation. If no engine rotation is detected, it won’t turn on the fuel pump. You engine probably uses a crank position sensor to detect engine rotation. A fault in that part would explain both the no gas during cranking and the lack of spark.
fyi, one method suggested here to test if the problem is lack of fuel or lack of spark is to spray a little starter fluid into the intake manifold and see if it briefly starts then. If it briefly runs then stalls, you know you have spark but no fuel.
Re the fuel pump job. Gasoline is very dangerous, so be sure to take all common sense precautions, for example a big fire extinguisher on hand, eliminate all ignition sources (like a nearby gas hot water heater) and avoid doing the job near structures ( house, garage, etc) that might catch on fire. Best of luck.