Added event listeners to debug module. Added isDebugMode() to AbstractKernel, added missing use statement in FilterExceptionEvent class.