use dbms_output.put_line

Thats all you need for your debugging