enables to debug event handlers