Best Practices for Debugging in Fuji Part 2
Import
·
Aug 03, 2015
·
article
This new video picks up where Best Practices for Debugging in Fuji Part 1 left off with ctomasi. In part one we looked at debug output control, in this demo we will go over session debugging, as well as our best practice recommendations for debugging in Fuji.
For best video quality, increase your player resolution to 1080p.
Notes on Debugging in Fuji:
- For general debugging output use: gs.info() and gs.debug()
- Use methods appropriately
- use gs.error() for critical errors.
- The new method uses MessageFormat parameters
- You will not need to convert old code in Legacy apps
For more information on debugging best practices, see:
ServiceNow System Properties Best Practices video
Product Documentation - Application Scope
Product Documentation - Adding a Property
Your feedback helps us better serve you! Did you find this video helpful? Leave us a comment to tell us why or why not.
View original source
https://www.servicenow.com/community/developer-blog/best-practices-for-debugging-in-fuji-part-2/ba-p/2270249