First, disregard your performance issue, because it is ancillary to your primary problem and the two may or may not have a causal relationship. It would be better to focus only on one problem and allow the harmony that comes from remedying it to help resolve the other.
Second, put your effort into observing the whole phenomena. Observe your state before you are triggered. Observe your state when you are triggered. Observe your state when you are acting out your addictive behavior. Observe your state immediately afterwards. Observe your state later when your high has fallen away. Don’t make judgements and don’t try to fix anything. Only try to see clearly what these experiences and behaviors are. Return to observing as often as possible until the subtlety of your behaviors and experiences begin to appear. An analogy might be to keep watching the ball (baseball, tennis ball, whatever) until you can discern the spin and subtle curve of the ball.
Third, mediate on the question, “What would make my life meaningful?” or “What would make my life enjoyable?” Don’t try to answer the question, just hold the question in your mind. Hold the question in your mind until answers appear with no effort on your part.
It takes some effort to get into the practice of observing, and it will probably uncomfortable or difficult at first. Just do what you can, and naturally your habit of observing will become easier and easier. As you go deeper into your observation and your meditation on the question, your addictive behavior will naturally start to fall away.
You don’t need to gather any more information. Just apply this and trust it will work.