
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 11:43 AM
I've always prided myself on finding ways to debug code. Thanks to Developer Tools within modern browsers, I can usually find a way to debug client script. We have started using Service Portal and I'm dumbfounded. I cannot find the client script in any of the downloaded JavaScript files. I can find the client script for widgets but I'm thinking form based scripts must be stored in a variable or something and invoked dynamically.
Has anyone been able to step through client code in for client scripts associated to forms or catalog items when loaded in Service Portal widget?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 10:23 AM
This question was specific to Service Portal. It is a little more complicated but I figured it out. The client scripts are not rendered directly in the page, so you can't just go to a file in the source tree. I was able to step through the code and find where it invokes the dynamic script. This was at least the way I found to do it, maybe I'm missing an easier way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 12:43 PM
Hey Aron,
Please refer below blog post, Might be helpful to you:
Using Chrome to Debug Client Side Errors
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 10:23 AM
This question was specific to Service Portal. It is a little more complicated but I figured it out. The client scripts are not rendered directly in the page, so you can't just go to a file in the source tree. I was able to step through the code and find where it invokes the dynamic script. This was at least the way I found to do it, maybe I'm missing an easier way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2023 10:21 PM
This link is not working ,can you paste a new one?