Debugging the Script

In this chapter, we will be taking a look at debugging. Debugging is a very important aspect of creating working ServiceNow scripts. We will be taking a look at the script and session debugger, and how these are both used. We will then look at field watchers, debugging applications, the JavaScript log, and debug window. Finally, we will see how to debug REST and SOAP messages in a ServiceNow instance.

In this chapter, we will look at the following topics:

  • The script debugger
  • The session debugger
  • The Field Watcher
  • Debugging applications
  • The JavaScript Log and Debug window
  • Debugging REST
  • SOAP debugging

Get Mastering ServiceNow Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.