- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 03:05 PM
Coming from Helsinki, I'm just starting to look at the new features in Jakarta (and by virtue of skipping it, Istanbul).
I'm super excited about the shiny new Script Debugger and have already been testing it out with various Script Includes. However, it does not seem to work with Service Portal's Widgets' Server Scripts.
If I view the Widget records through the form view in the backend (not through the sp_config portal editors) I am able to add breakpoints to the Server Script, and these do appear on the left hand side of the Script Debugger window. However, viewing a page containing the widget (and therefore triggering the server script) does not cause the debugger to pause at that breakpoint.
Has anyone else tried this and got it working by chance? Or if it's not currently supported, has there been any word on if/when this support might be added?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 10:06 AM
Hi Taylor,
It looks like at this time there is no support for service portal widgets in the script debugger. A problem was opened against this a while back in Hi and the development team closed it indicating that there is no support for it at this time.
PRB917879 if you're interested.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 09:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 10:02 AM
Right I've read that doc, but it doesn't explicitly mention Service Portal or its widgets regarding either support or lack of it, it only lists a non-extensive list of example script types that can be debugged.
That's partially why, since testing it seems to indicate lack of support, I also wondered if there's been any mention by SNow regarding potential future support. Haven't been able to find any communications myself but hoped reaching out here maybe someone's read something I've missed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 10:06 AM
Hi Taylor,
It looks like at this time there is no support for service portal widgets in the script debugger. A problem was opened against this a while back in Hi and the development team closed it indicating that there is no support for it at this time.
PRB917879 if you're interested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 10:13 AM
Seems I don't have access to open the PRB, but thank you, that gives me the concrete answer I was looking for. I guess from here I'll open an enhancement request and cross my fingers for the future. Having the debugger for other script types will still be a huge time saver in the meantime.
Thanks a bunch Jesse!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2017 09:54 AM
So my current development method for still using the script debugger when using widgets is to put my server code into a Script Include. then just call the script include in your widgets server code and any break points in your script include should be used.