The project that you use must be configured for debugging, and the region must be started and running.
If the region is not configured for dynamic debugging, and you start a debug session against the region, you will be prompted to allow Visual Studio to enable dynamic debugging on your behalf. The popup behaviour can be modified in the Micro Focus Enterprise Server option in the Tools/Options dialogs.
The Dynamic Debugging status displays in the Results pane. The display lists any active debugging sessions operating for the region.
Dynamic debugging is enabled for the region, and the button caption changes to Disable.