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: