I have the same. I had fever/cold symptom 3 weeks ago with really bad coughing fits in the 2nd and 3rd week. Now the coughing is not so frequent or bad, but my windpipe keeps closing up which is terrifying. An inhaler is no help during one of these episodes as have no air movement at all for 20seconds up to 1min. Dr thinks its probably whooping cough and has given me an inhaler and antibiotics. Waiting for blood test to confirm.
She said the breathing problem is my muscles seizing up due to the inflammation and effort in coughing. The solution is to use the inhaler before an attack, not always possible, and to relax. I had 2 attacks last night, the first lasted 2 mins in which I managed 3 tiny gasps. The 2nd I was expecting and didn't fight. I held my breath and tried to relax, then took slow breaths. It was difficult but it worked