# Debug

The Debug statement is used to debug actions. You optionally specify an optional prompt message to be displayed in the Action Pending Window. The prompt message will have debug content appended. What content is appended is configured entirely at runtime.

When the Debug statement is displayed there is a Configure button which provides access to the configuration panel and a disclosure control which displays a menu with various functions.

The runtime functions are described in The Debug Panel. The configuration panel is described in Debug Content Configuration.

You can use simple markup sequences in the prompt text specifying colours, bold and italic. The markup sequences are described in Common Prompt Markup Functionality.

The supplied prompt string may contain any of the escape sequences described in Escape Sequences.

You can elect to issue a beep with the prompt.

The Log option is only meaningful whan batch processing. If Log is specified, the results will be written to the Batch Processor's log file as opposed to being displayed in the Action Pending Window.