Debugging is a regular part of any software development. Event handlers can be debugged during the development process.
See”Debugging an event handler” in SQL Anywhere Server - SQL Usage.