ServiceNow Tools · LessonBy Sneha I, ServiceNow Trainer, 8 yrs · Published · current release · utility
Script debugger
Step through server-side code with breakpoints.
Quick answer
The Script Debugger lets you set breakpoints in server scripts and step through execution, inspecting variables.
The Script Debugger lets you set breakpoints in server scripts and step through execution, inspecting variables.
- Set breakpoints in business rules and script includes.
- Trigger the code (save a record) and step line by line.
- Inspect
current, locals and the call stack. - Pair with
gs.info()logging for quick checks.
Quick check
+0 XPStreak ×0
Question 1 of 2
What does the script debugger let you set?
Frequently asked questions
What does the term Script debugger refer to in ServiceNow?
The Script Debugger lets you set breakpoints in server scripts and step through execution, inspecting variables.
What is worth remembering about Script debugger in practice?
Set breakpoints in business rules and script includes. Trigger the code (save a record) and step line by line. Inspect current, locals and the call stack.