How to debug Scripted Rest Service using Script Debugger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2019 05:44 AM
How to debug Scripted Rest Service using Script Debugger?
I have one scripted rest service and script debugger also has breakpoints, invoked script rest web service from rest api explorer and postman, getting the response but debug is stopping at break point.
Any suggestions?
Thanks
Ajit
- Labels:
-
Field Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 11:27 PM
any suggestion on this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 11:48 PM
Hi,
check the blog below, it will help you to do the debug in the right way:
If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thank you
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 06:43 AM
I think you will not be able to debug it through debugger due to the different sessions. REST API authentication user will create its own session if I am not wrong.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2019 01:40 AM
same issue here ( MADRID )
i created this simple scripted REST (Post):
i start the script debugger and set a breakPoint
Then i call this via Rest API Explorer...I would expect that the debugger would stop at the breakPoint - but nothing is happening.
POST https://txxxxxxx.service-now.com/api/x_322433_xxx_cfgm/post_createupdateci_ck is fired and i just receive OK 200...
so the moment it seem that the debugging is completely ignored?!
any hint?