---
title: "DEBUG"
canonical: "https://docs.infoblox.com/space/NCSG/23199798/DEBUG"
format: markdown
---
Provides a simple tool to determine whether a statement in a script will run before you actually execute the script. The Process log displays `DEBUG` can be used in `Action-Command` attributes and `Trigger-Command` attributes.

**Example**

`Trigger-Commands: `

`config terminal `

`interface $ifName `

`DEBUG: duplex auto `

`exit`

`exit`

When the script statement containing the DEBUG executes, a special debug icon appears next to the statement. This indicates that the statement would have run if it had not been removed from execution with the DEBUG: keyword. This tool is useful for cases where you are generating multiple iterations of a particular command and need to see the execution pattern.

---

**Note:** Because CCS does not have an integrated development environment, we recommend using DEBUG statements to check for endless loops and logic errors before executing scripts against a live network.

---