Fried ECM

Did it get hot? Can be a bad pick up in the distributor also. See if it stars cold?
They tend to fail hot then cool down and run again. Will drive you nuts.