When you say script editor, are you talking about Osiris or Horus (charscripts, itemscripts, gamescripts). Yes I made up Horus because I hate typing those 3 things out and Horus is the younger sibling of Osiris so it kinda makes sense.
Also, when you say you are testing in-game, do you mean the game within the editor, or are you actually deploying and pulling the addon in in-game.
I feel like clarifying these 2 points will help your question.