We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 217bf5f commit a4fed11Copy full SHA for a4fed11
cookbook/service_container/event_listener.rst
@@ -133,3 +133,20 @@ done as follow::
133
Two types of request are available in the :class:`Symfony\\Component\\HttpKernel\\HttpKernelInterface`
134
interface: ``HttpKernelInterface::MASTER_REQUEST`` and
135
``HttpKernelInterface::SUB_REQUEST``.
136
+
137
+Debugging Event Listeners
138
+-------------------------
139
140
+You can find out what listeners are registered in the event dispatcher
141
+using the console. To show all events and their listeners, run:
142
143
+.. code-block:: bash
144
145
+ $ php app/console debug:event-dispatcher
146
147
+You can get registered listeners for a particular event by specifying
148
+its name:
149
150
151
152
+ $ php app/console debug:event-dispatcher kernel.exception
0 commit comments