Sorry for the delay in getting to this. I have a couple ideas but not a ton of help maybe.
There's not a way to debug right in ARIS though you could set up a page to run from Safari and debug there in the web browser. That might not help if the code you're running through ARIS is specific to ARIS. I bet a few teams have had to do something like that, and hopefully can weigh in on the forums. My guess: they start with the Xcode project for ARIS and run it in the simulator, using the debug tools there. For regular Safari, there is a debug menu you can turn on in the Safari settings but I don't know if it applies to web views within apps.
Or you could hand them out in order, not randomly, and increment a "world item" to know which one to hand out at any given time. To be a bit more specific:
item: counter. World starts with 0.
Set up a dictionary so that each item you want to give out is indexed with a value for counter.
Every time a team plays, you hand out the corresponding item and then give one counter to the world.
Making the counter a modular number, or something similar, would make it so you don't need to reset it.