Script debugger not working for Scheduled Scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2018 06:28 AM
Hi,
Am I right that it is not possible to use the script debugger for a Scheduled Script?
I've made a script that is working fine but I notice that I can not debug it and step through it in the script debugger as it doesn't stop on the breakpoints I add.
Am I doing something wrong? If not, what's the reason why this script cannot be debugged with the debugger?
Thanks.
Toon

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2018 10:17 PM
The script debugger only runs on interactive contexts.
Scheduled Jobs, and Script Actions run in a separate context from your own session. If you want to debug them using the debugger, make a script include, and debug that within a fix script calling a script include as that will run it interactively. Then have the scheduled job call the script include.