32.2. Adding a custom debug handler