- Open the application's solution in 
			 Visual COBOL. 
			 
If you are working with one of the container demonstrations, they include the relevant solution and project files. 
			 
 
		   
 
		- [デバッグ > プロセスにアタッチ] をクリックします。
 
 
		- デバッグするアプリケーションがネイティブ COBOL の場合は、[Connection type] フィールドで、[Micro Focus transport] を指定します。
デバッグするアプリケーションが.NET COBOL の場合は、[Connection type] フィールドで、specify 
			 Remote (no authentication) (if you invoked the remote debugger (msvsmon.exe) with the "/noauth" flag) or 
			 Default (if you are using authentication).
 
		 
 
		- [Connection target] フィールドで、次のように指定します。
ID/IP-address:port[:32|:64]
 
		  詳細は次のとおりです。
 
		   
			  
				- ID/IP-address
 
 
				- コンテナーの ID または IP アドレスです。
 
 
			  
			  
				- port
 
 
				- コンテナーがリッスンしているポート番号です。 This would be 6100 for the container that would have been started by the 
			 docker run command in 
			 Running a Container that is to be Debugged.
 
 
			  
			  
				- :32|:64
 
 
				- オプションで、コンテナーが 32 ビット環境と 64 ビット環境のどちらで実行されているかを示します。このパラメーターが指定されていない場合、デフォルトでは 64 ビットになります。
 
 
			  
		  
 
		 
 
		- [Show processes from all users] をオンにします。
 
 
		- [Refresh] をクリックすると、Visual COBOL によって、接続可能なすべてのプロセスがリストされます。
 
 
		- デバッグ対象のプロセスをリストから選択します。
 
 
		- [Attach] をクリックします。
実行中のコンテナーにデバッガーがアタッチされ、通常どおりにデバッグが開始されます。デバッガーがブレークポイントに達するか、エラーが発生するか、ユーザーがブレーク ボタンを押すまで、実行は停止しないことに注意してください。