Activate pattern Debug mode
- UpdatedAug 3, 2023
- 4 minutes to read
- Vancouver
- Service Mapping
Working in Debug mode, Pattern Designer performs all operations as you configure them. It allows you to see results immediately.
Before you begin
Role required: pd_admin
Before starting this procedure, verify that the Debug mode is not activated. If the
Debug mode is activated, the debug button appears with a green dot: .
Basic knowledge of programming is desirable.
Role required: pd_admin.
About this task
Many operations require that you enter a specific value from a specific source, for example, a particular value, or a particular location and delimiter, in a particular file. If you are not in Debug mode, you must type details such as path and file name, or an actual relevant value or related information. However, if you work in Debug mode, you can browse to and open information sources such as files, and then select specific values from those files.
Service Mapping and Discovery share a set of preconfigured patterns that cover most of the commonly used devices and applications. Patterns can be of the infrastructure or application type. Infrastructure patterns are used only by Discovery for creating lists of devices. Application patterns serve both Service Mapping and Discovery, which use the same application patterns for their purposes.
Service Mapping and Discovery share patterns, but execute them differently. Discovery runs infrastructure, application, and cloud resource patterns for horizontal discovery, while Service Mapping runs application patterns for the top-down discovery. When you activate Debug mode, you choose how pattern steps are run: as if by Discovery or as if by Service Mapping.
When you activate the Debug mode, Pattern Designer performs an operation in a pattern step and displays discovered values in the Temporary Variables pane.
When you activate the Debug mode, the following additional actions become available:
Action | Allows you to |
---|---|
Search assistant | Search within files or the registry. Note: Perform additional configuration to enable this feature as described in Configure Search Assistant for Windows. |
Command Prompt | Check details of file structure, setup, or parameters and values inside specific files on a host before using this information in step operations. |
Test | Test the current step and populates variables with discovered values. ![]() |
Activate the Debug mode for each browser window or tab separately. For example, if you have the same pattern section open in two or more tabs, you must activate the Debug mode in each tab.
Discovery and Service Mapping use algorithms to select a MID Server for discovery. While working in Debug mode, you can either rely on the MID Server chosen by the algorithm or select a different MID Server from the list. This list contains only MID Servers that are valid, running, and having the matching IP address range for the pattern step. Discovery and Service Mapping use the same MID Server for the entire Debug session, whether the algorithm selected this MID Server or you chose it.
MID Server auto-selection does not work for IPv6 Host IP in Debug Mode.
Procedure