You can start debugging your CICS application by using the Enterprise Server Dynamic Debugging facility, which enables you to debug a service on a local or remote enterprise server. 
	 
 
	 Note: When you have finished debugging, you must stop the debugger before you stop the enterprise server. This stops all the active transactions and ensures the enterprise server stops cleanly. 
	 
 
 
	 Configure the Enterprise Server for Dynamic Debugging
 
		 
		 
		  - In Server Explorer, right-click 
			 ACCT in the list of servers and then click 
			 Stop. 
		  
-  Right-click 
			 Micro Focus Servers and then click 
			  Administration. 
		  
- On the Enterprise Server Administration home page, click 
			 Edit in the row for the ACCT server. 
		  
- Check 
			 Allow Dynamic Debugging and then click 
			 OK. 
		  
- Return to the Enterprise Server Administration home page. 
		  
Set Project Properties for Debugging
 
		 
		 
		  - Select your project in Solution Explorer and click 
			 Project > Properties 
			  
		  
- Click the 
			 Debug tab. 
		  
- Ensure 
			 Choose Active Settings is set to 
			 CICS. 
		  
- Type 
			 ACCT in the 
			 Transaction text box. 
		  
- Click 
			 File > Save All. 
		  
Associate Your Project with the Target Enterprise Server
 
		 
		 
		  - In Visual Studio, right-click 
			 Micro Focus Servers in Server Explorer and choose 
			 Refresh. 
		  
- In Server Explorer, right-click 
			 ACCT in the list of servers and then click 
			 Start. 
			 If this is the first time you have started the server you might see a sign-on dialog box. Select 
			 Store Credentials to skip this step in the future, and click 
			 OK to continue. 
		  
		  
- Right-click 
			 ACCT in Server Explorer and choose 
			 Associate with project > ACCT. 
		  
Debug the ACCT Application
 
		 
		 
		 
		  - Click 
			 Debug > Start Debugging. 
			 To start debugging you need to run the application. 
			  
- Run the ACCT transaction from your 3270 emulator. 
		  
-  Step through the application in the usual manner. 
		  
- To stop debugging, click 
			 Debug > Stop Debugging. 
		  
- To stop the server, right-click 
			 ACCT in Server Explorer and click 
			 Stop.