IT CanvassTalk to an advisor
ServiceNow Tools · LessonReviewed by Sneha I, ServiceNow Trainer, 8 yrs · Updated · Published · current release · utility

ServiceNow Script debugger

Step through server-side code with breakpoints.

Quick answer

The ServiceNow Script Debugger sets breakpoints in server-side code, business rules and script includes, so you can trigger it by saving a record, step through line by line, and inspect current, the local variables and the call stack while it runs. Pair it with gs.info() logging for quick checks that do not need a full session.

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.
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