[FrameworkBundle] made sure that the debug event dispatcher is used everywhere