Anybody experience severe heartburn that made you pass out?

BabyA

I had horrible chest pain the other night that I’ve never experienced before. I thought it was a heart attack. Couldn’t move and could barely breathe. I fainted and was taken to the hospital where I was very nauseous and threw up. The pain lessened but came back. Then it went away again and didn’t come back until 2 nights later immediately after I ate dinner. The doctors said it wasn’t cardiac and not a blood clot but possibly severe heartburn. I’m 19 weeks pregnant by the way. And I’m terrified. Taking pepcid and not eating anything that might trigger it but I am just so scared of going through that again. Anyone go through this? And can heartburn actually be this bad?? I’ve had regular heartburn before and it was NOTHING LIKE THIS!