- Open any standard web browser and type the instance address.
- Log in to the instance using the credentials.
- Now click on the settings icon, select the Developer option, and turn on the JavaScript Log and Field Watcher options. A new pane will be opened at the bottom of the screen, where you need to select the JavaScript Log section:
JavaScript log screen
- If you want to log information to the JavaScript log, then Service-Now provides a global jslog() function, which passes information to the JavaScript log sections.
- If you want to capture the JavaScript log to the client-side script, then you can follow this process: