Set Enterprise Server Preferences

Before you can debug within Visual Studio, the dynamic debugging feature must be enabled within an enterprise server region. Dynamic debugging is enabled already in the JCLDEMO enterprise server region because it was enabled by the template you used to create JCLDEMO. However, as an alternative to enabling dynamic debugging for each individual enterprise server, you can also set the Enterprise Server preferences in Visual Studio to automatically enable dynamic debugging for all enterprise server regions as each starts, regardless of the setting on each individual server. In addition, you can set preferences to automatically start the associated enterprise server region when an application is run, and to stop an associated enterprise server region when you close a project.

To do this:

  1. In Visual Studio, click Tools > Options > Micro Focus > Enterprise Server.
  2. Enable the following options, then click OK:
    • Automatically start the associated server
    • Stop running servers on project close
    • Automatically enable dynamic debugging
Note: These Enterprise Server preferences apply to all enterprise servers listed on the Enterprise Server Administration page. To enable dynamic debugging on an individual server, edit the server and check Allow Dynamic Debugging on the Server > Properties > General page; you must restart the server for a changed setting to take effect.