Previous page Next page

debug display

Specifies how debug messages will interact with normal program output.

Syntax
debug display [ foreground | background ] 
 
              [ | { include | exclude } <exp> ] 
 
              [ > <file-url> ]
 
no debug display
 
Prerequisites

Must have privileged-level access.

Occurrence

Available for use multiple times in the configuration.

Default

Debug messages are interspersed with regular CLI output.

Description

When the debugging process is enabled, messages are by default interspersed with normal command-line output.

Use the debug display command with the foreground keyword to force CNA to show debug messages exclusively. No other output will be displayed, and no other CLI commands can be issued in the terminal window in which the command was issued until you cancel the foreground display by pressing Control-C.

Use the background keyword to intermingle debug output with normal CLI output.

Use the pipe character (“|”) with either the include or exclude keyword and a regular expression to filter the messages that are displayed.

Use the debug display command with the redirection character (>) and a valid FTP, HTTP, or HTTPS URL to send debug messages to a file.

Use the no form of the command without either the foreground keyword or the > character and filename to return the CLI to its default behavior (debug text interspersed with other output).

NOTE: The debug display command will not have any affect unless the debug on command was executed first.


Previous page Next page