The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Debugging In Servicenow

Pooja_95
Tera Contributor

Hi Team,

 

In ServiceNow’s UI16, the Watch functionality was extensively utilized for debugging client-side scripts and, to some extent, server-side logic. This feature proved invaluable for isolating issues related to specific fields, providing real-time insights into script execution and data changes.

However, the Watch feature has been deprecated in the Next Experience UI.

Given this change, I would like to inquire whether the latest UI (Next Experience UI) offers a comparable centralized debugging tool or feature that consolidates debugging capabilities across client-side and server-side logic, similar to the Watch functionality in UI16.

I would appreciate any insights or recommendations regarding available debugging tools or best practices in the current UI framework.

 

 

Pooja_95_1-1758544832164.png

Pooja_95_2-1758544879266.png

 

Best Regards,

Pooja

 

1 REPLY 1

raviteja1600
Tera Expert

Hi @Pooja_95 ,

 

You can access advanced debugging features in the Next Experience UI by navigating to:

User Menu → Preferences → Debugging

The available options include:

  • Script Debugger – For tracing and debugging scripts.
  • Automated Test Framework Page Inspector – Useful for inspecting classic UI pages.
  • UX Source Map – Enables readable debugging of client-side scripts.
  • Next Experience Developer Tools – A Chrome extension offering deep inspection and profiling capabilities.

Please note that the Field Watcher feature is not supported in the Next Experience UI.

For more details, refer to the official documentation:
https://www.servicenow.com/docs/bundle/zurich-api-reference/page/script/debugging/concept/c_FieldWat...

 

If this solution was helpful, kindly mark it as helpful and accept the answer.

Best regards,
Raviteja