Skip to Main Content
Mastering ServiceNow Scripting
book

Mastering ServiceNow Scripting

by Andrew Kindred
February 2018
Intermediate to advanced content levelIntermediate to advanced
226 pages
5h 13m
English
Packt Publishing
Content preview from Mastering ServiceNow Scripting

The script debugger

The script debugger allows developers to debug server-side script to discover errors or issues with their code. We had a brief look at the script debugger in Chapter 5, Introduction to Server-Side Scripting.

To recap, we can set breakpoints in the server-side script we have written to debug the script when it is run by using the script debugger. This is the only way we can use breakpoints in ServiceNow to step through and into our script.

To use the script debugger, we first need to set a breakpoint in one of our server-side scripts. This can be any script you want to step through, either a system script or one you have built yourself. A good example is the incident_events business rule, as we can also see how different ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PowerShell Cookbook, 4th Edition

PowerShell Cookbook, 4th Edition

Lee Holmes
Learning Splunk

Learning Splunk

Tom Kopchak

Publisher Resources

ISBN: 9781788627092Supplemental Content