You can use the debugger during the development of SQL stored procedures, triggers, event handlers, and user-defined functions.
See ”Introduction to the SQL Anywhere debugger” in SQL Anywhere Server - SQL Usage.