Specify the QCNTSRVC on the TNSPGM parameter of the Add Relational Database Directory Entry (ADDRDBDIRE) or Change Relational Database Directory Entry (CHGRDBDIRE) command.
It might be helpful to make a note of the special transaction program name (TPN) in the text of the RDB directory entry as a reminder to change it back when you are finished with debugging.