I had the exact same thing happen to me and after exhaustive ground/wire/coil/ballast/ all the usual suspects came up a no go it ended up being the pickup in the distributor.
What ECU box are you running OEM style or MSD? If it's an OEM orange or blue box, just find a used one and test it...