Always dislike trying to diagnose a non start problem!
I've had a cam sensor go bad before, similar symptoms to yours, changing it sorted the issue. I also changed the knock sensors on another occasion after poor running and starting problems.
__________________
2016 Subaru WRX STi
|