This tutorial shows you how to start the debugger, connect to a database, and attach to a connection for debugging. It uses the Sybase IQ demo database.
See SQL Anywhere Server - SQL Usage > Stored Procedures and Triggers > Debugging procedures, functions, triggers, and events > Tutorial: Getting started with the debugger > Lesson 1: Connect to a database and start the debugger.