Add setDebug => eventManager