AWS .NET Modernization Tools Porting Assistant (PA) for .NET, AWS App2Container (A2C), AWS Toolkit for .NET Refactoring (TR), and AWS Microservice Extractor (ME) for .NET is no longer open to new customers. If you would like to use the service, sign up prior to November 7, 2025. Alternatively use AWS Transform
Debugging
This section contains debugging information for Toolkit for .NET Refactoring.
Debugging the deployment using Amazon ECS execute-command
You can use Amazon ECS to run commands, such as bash and sh commands, in a task that is running.
-
To use Amazon ECS to run a command, open Amazon ECS in the AWS Management Console and navigate to the cluster and the task that contains the application. The cluster will be named
.<application_id>-cluster -
Locate a single service in the cluster and locate an active task in the cluster. Use the cluster name and task ID in an AWS CLI command:
aws ecs execute-command --cluster<cluster_name>\ --task<task_id>\ --container app \ --interactive \ --command "bash"
For more information, see the Running commands using Amazon ECS Exec section of Using Amazon ECS Exec for debugging in the Amazon ECS User Guide.