NetCOBOL tailors its behavior at runtime by checking the settings of a number of environment variables and runtime options. These variables can be set in a variety of ways, documented in the "NetCOBOL User's Guide".
Before starting to debug make sure that you have specified all the environment variables you require. These settings should be placed in the initialization file (COBOL85.CBR) either by editing, or by using the Runtime Environment Setup Tool.
Settings to consider include:
File allocation mappings.
COBOL sub-program name to DLL file name mappings.
Other environment settings specific to your application requirements.