If it is a fron end program(mens a transaction associated with program) you should give the trans id in the terminal. On flow if any where the trans id with your program encounter automatically you program will come into the intertest.
Code the break point in the procedure division.
If it is the back end program. It is a different case. I this you got my point.