---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Debug a Service Catalog variable

# Debug a Service Catalog
variable {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 Minuten Lesedauer


Monitor
changes in the state and the value of a Service Catalog variable due to
catalog client scripts, catalog UI policies, and catalog data lookups. You can diagnose and
resolve issues related to such changes, and track client-side scripting errors
on this
tab.

## Vorbereitungen

Role required:
admin
or
catalog_admin

## Prozedur

1. Enable the JavaScript log and field watcher..
   1. In the banner, click the settings icon (![Settings icon]()).
   2. In the System Settings window, click the Developer tab.
   3. Enable the JavaScript Log and Field Watcher option.  
      The JavaScript Log and Field Watcher tabs are displayed in a pane at the bottom of the page. For information about JavaScript logs and fields watcher, see [JavaScript
      log](https://www.servicenow.com/docs/access?context=c_WritingToTheDebugLog&version=australia&pubname=australia-api-reference&ft:locale=en-US) and [Field Watcher](https://www.servicenow.com/docs/access?context=c_FieldWatcher&version=australia&pubname=australia-api-reference&ft:locale=en-US) .
   4. Close the System Settings window.
   {#debug-a-service-catalog-variable__substeps_rkm_cnv_tbb}
2. Navigate to Service CatalogCatalog DefinitionsMaintain Items.
3. In the Catalog Items list, select a catalog item to debug its variables, and click Try it.
4. On the form, right-click a variable field label and select Watch Variable.  
   The debug icon (![Debug icon]()) is displayed next to the variable, and the Field Watcher tab in the bottom pane is replaced with the Variable Watcher tab.
5. Edit the fields on the Variable Watcher tab.  
   {#debug-a-service-catalog-variable__table_a5r_zgz_xz__entry__2}

   | Field | Description |
   |-|-|
   | Item | Current catalog item. |
   | Variable | Variable that is being watched. |
   | Type | [Type](https://servicenow-prod.fluidtopics.net/lo_dUm11UFQBvaNuW_RBzQ "Variables allow you to specify questions for a catalog item. Several types of service catalog variables are provided. Some variable types accept variable attributes.") of the variable. |
   | Create roles | User type that can create values for the variable. |
   | Write roles | User type that can edit values for the variable. |
   | Read roles | User type that can read values for the variable. |
   |   |   |
   | Reference | Reference table for the variable. Applicable for reference variables. |
   | Reference Qual | Qualifiers to restrict data that is available in the field. Applicable for list collector, lookup multiple choice, lookup select box, and reference variables. |
   | Attributes | Attributes of the variable. |
   | Delete roles | User type that can delete values for the variable. |
   | All | If selected, displays the action log of the variable due to catalog client scripts, data lookups, and catalog UI policies. |
   | Catalog Client Script | If selected, displays the action log of the variable due to catalog client scripts. |
   | Data lookup | If selected, displays the action log of the variable due to data lookups. |
   | Catalog UI Policy | If selected, displays the action log of the variable due to catalog UI policies. |
   [ ]

   {#debug-a-service-catalog-variable__table_a5r_zgz_xz}  
   Abbildung : 1. Variable Watcher tab
6. To watch another variable, right-click that variable and select Watch Variable.  
   Hinweis:  
   You can watch only one variable at a time.
7. To stop watching a variable, right-click the variable and select Unwatch Variable.
8. To clear the logs, click the Clear log icon (![Icon to clear log]() ).
9. To resize the pane, click Small, Medium, or Large.
10. To close the pane, click the Close icon (![Close icon]() ).

