Build event debugger as module (to prevent log spam)

Change-Id: Ic7de1bf7a6784624ffc862e59ffb6718a3aa91dd