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