Script Debugger impersonation support
concept brazil Updated Sep 10, 2026 1 min read impersonation-support.md
You can use the Script Debugger while impersonating another user, but only if the impersonated user has the script_debugger role and has read access to the target script.
While impersonating another user, you can:
- See and change breakpoints that belong to the impersonated user.
- View and pause on scripts that the impersonated user has read access to.
- Evaluate expressions in Console on behalf of the impersonated user.
The Script Debugger step-through controls also use the read access of the impersonated user. For example, if the impersonated user does not have read access to a function in the call stack, any Step into action instead becomes a Step over action.
The impersonated debugging session lasts until:
- You stop impersonating the user.
- You log out or the user session ends.
- You pause the Script Debugger.
- You close the Script Debugger.
Parent Topic:Script Debugger and Session Log
Related topics
41 lines · 1.8 KB
--- title: Script Debugger impersonation support description: You can use the Script Debugger while impersonating another user, but only if the impersonated user has the script\_debugger role and has read access to the target script. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/scripts/impersonation-support.html release: brazil product: Scripts classification: scripts topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Use Script Debugger, Debug scripts, Scripting, API implementation, API implementation and reference] --- # Script Debugger impersonation support You can use the Script Debugger while impersonating another user, but only if the impersonated user has the script\_debugger role and has read access to the target script. While impersonating another user, you can: - See and change breakpoints that belong to the impersonated user. - View and pause on scripts that the impersonated user has read access to. - Evaluate expressions in Console on behalf of the impersonated user. The Script Debugger step-through controls also use the read access of the impersonated user. For example, if the impersonated user does not have read access to a function in the call stack, any **Step into** action instead becomes a **Step over** action. The impersonated debugging session lasts until: - You stop impersonating the user. - You log out or the user session ends. - You pause the Script Debugger. - You close the Script Debugger. **Parent Topic:**[Script Debugger and Session Log](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/scripts/script-debugger.md) **Related topics** [Script Debugger multiple developer support](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/scripts/multiple-developer-support.md)
| title | Script Debugger impersonation support |
| description | You can use the Script Debugger while impersonating another user, but only if the impersonated user has the script\_debugger role and has read access to the target script. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/scripts/impersonation-support.html |
| release | brazil |
| product | Scripts |
| classification | scripts |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Use Script DebuggerDebug scriptsScriptingAPI implementationAPI implementation and reference |