The SET CURRENT DEBUG MODE statement assigns a value to the CURRENT DEBUG MODE special register.
The following statement sets the CURRENT DEBUG MODE to allow subsequent procedures created by the CREATE PROCEDURE (SQL) statement to be debuggable.
SET CURRENT DEBUG MODE = ALLOW
For more information, see SET CURRENT DEBUG MODE in the SQL Reference topic in the Information Center.