[bugfix] depend @debug.event_dispatcher service is not defined in prod environment