All Products
Search
Document Center

CloudOps Orchestration Service:Debug a custom template

Last Updated:Jun 22, 2026

You can debug a custom template to test its logic and behavior before running it in production. Debugging lets you start a session, execute individual task steps, and inspect results along the way.

The following walkthrough uses a template that runs commands on multiple ECS instances. To get started, see the Example section.

Usage

Important
  • When you start task debugging, a temporary execution is created. This execution is automatically deleted when you end the debugging session. If you do not end the session, the temporary execution remains. To manually delete it, see Cancel an execution or Delete an execution.

  • Actions you perform during a debugging session affect your actual cloud resources.

  • You can use the price calculator to estimate the costs of the cloud resources used in your debugging session.

UI element

Description

Task Debugging

Starts a step-by-step debugging session. The debugging window appears and a temporary execution is created.

Edit Template Parameter

Configures the input parameters for the template.

Perform Task of Single Step

Executes template tasks one step at a time for debugging.

Execute

Starts the selected task step.

Use Parameters Provided by Current Execution

Uses the parameters defined for the current execution. This is the default option.

Override Parameters Provided by Current Execution

Lets you specify custom input parameters for the step, overriding the current execution parameters.

Stop Debugging

Ends the debugging session. The debugging window closes and the temporary execution is deleted.

Example

  1. Log on to the CloudOps Orchestration Service console. In the left-side navigation pane, choose Automated Task > Custom Template, and then click Create Template.

  2. Select Create Template Based on Samples, choose Run commands on multiple ECS instances, and then click Next.image

  3. Click Task Debugging. The Task Debugging window opens.image

  4. Manually select the instances to run the task on, and then click Next.

  5. Find the first task. For its required parameters, choose one of the following options:

    • Select Use Parameters Provided by Current Execution and then click Run.image

    • Select Override Parameters Provided by Current Execution and then click Run.image

  6. For the second task, click Run. After the task runs, click the task name to expand its details and view the results.image

  7. Click Stop Debugging.