COBOL programs that are called from Visual Basic are prepared in exactly the same way as COBOL programs that are called from other COBOL programs. The only special consideration in writing the programs is to ensure that data passed through the Linkage Section must be compatible with Visual Basic data types.
Similarly preparing COBOL programs for debugging requires the same steps as if they were to be debugged in a totally COBOL environment.