To prepare COBOL programs for debugging, compile them with the TEST directive and link them with the /DEBUG option. Project Manager includes the linker options automatically for you when you specify the TEST compiler directive.