IT CanvassTalk to an advisor
ServiceNow Tools · LessonBy , 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.
Already working on ServiceNow and stuck on a live ticket?Get an expert ServiceNow developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support