Add the Utilities.sleep(1000) under the debugger.
Utilities.sleep(1000)
This method can add a delay between each event creation/update.