Where is gs.debug() output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 02:17 PM
I use gs.debug to generate some debug message. I have enabled Session Debug in my application. I even tried "Enable All" under System diagnostics-> Session Debug and Debug Log. Still don't see the debug message printed out in System Logs > System Log > Application Logs.
Where I should go to see the debug message printed by gs.debug() in my application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 03:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 03:59 PM
Thanks veena.kvkk88.
What I meant is that I don't see the debug output generate from my script such as "gs.debug("Got matched event name " + event_name);"
There are many system logs as you shown, but I don't see my debug message although I know the script runs and returns REST response as expected.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 04:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2016 05:04 PM
Thanks for the reply, Sherry.
I still don't see the debug message output generate in my scripted REST API. It works in business rule script though.
Guess gs.debug() in scripted REST API either doesn't work (not supposed to work) or there are some limitations. Does anyone know?