Chapter 3 HOW TO USE DEBUG DEBUG is accessed by specifying the DEBUG parameter in a RUN or PREPRUN command, or by inserting DEBUG intrinsic calls in your program. The purpose of DEBUG is to establish breakpoints in an executing program so that you can examine or modify current values in memory or the current values of program registers.