---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# JavaScript debug window

# JavaScript debug window {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The JavaScript debug window appears in a bottom pane of the user interface when an
administrator turns on debugging.  
Note:  
The JavaScript debug window is not supported with Next Experience in Utah. For more information about supported features in Next Experience, see [Considerations for activating Next
Experience](https://www.servicenow.com/docs/access?context=next-experience-adoption-paths&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US).

Use the debug window to access these tools.

* JavaScript Log: JavaScript that runs on the browser, such as client scripts, can include a call to jslog() to send information to the JavaScript log.
* Field Watcher: a tool that tracks and displays all actions that the system performs on a selected form field.

Figure 1. JavaScript debug window

## Using the JavaScript debug window {#ariaid-title2}

The JavaScript debug window enables access to the JavaScript Log and the Field
Watcher tools.

### Before you begin

Role required: admin

### About this task

The steps to access the JavaScript debug window depend on which UI version you are
using.  
Note:  
The JavaScript debug window is not supported with Next Experience in Utah. For more information about supported features in Next Experience, see [Considerations for activating Next Experience](https://www.servicenow.com/docs/access?context=next-experience-adoption-paths&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US).

### Procedure

1. Open the JavaScript debug window by navigating to the appropriate location for your version of the UI.  

   |-|-|
   | Core UI | 1. Click the gear icon in the banner frame. 2. Click the Developer section. 3. Toggle the JavaScript Log and Field Watcher switch. {#t_UsingTheJavaScriptDebugWindow__ol_rf2_2dq_ms} |
   | UI15 | 1. Click the gear icon in the banner frame. 2. Click JavaScript Log and Field Watcher. {#t_UsingTheJavaScriptDebugWindow__ol_em3_kdq_ms} |
   | UI11 | Click the debug icon (![The debug icon]()) in the banner frame. |
   [ ]

   {#t_UsingTheJavaScriptDebugWindow__simpletable_HowToOpenJavaScriptLogAndFieldWatcherInDifferentUIs}  
   The JavaScript debug window re-opens at the bottom of the screen. The tab that is currently active in the window is the last tab that was active when the window was closed.
2. Click a tab to use one of the debug window features.
   * JavaScript Log
   * Field Watcher
**Related concepts**   

* [Writing to the debug log](https://servicenow-prod.fluidtopics.net/oSHPhxMU8kgHHbGkR_kfmg#c_WritingToTheDebugLog "To write to the debug log in your client-side JavaScript, or UI policies, make a call to the global function jslog().")
* [Field watcher](https://servicenow-prod.fluidtopics.net/D2OeUXsy6DSqcLQKfMsViw#c_FieldWatcher "The field watcher tool tracks and displays all actions that the system performs on a selected form field.")

