SuiteScript Debugger 2.1(video included)
Introduction
Welcome back! After discussing- Why and When I use NetSuite Debugger: A Developer's View, Setting Up NetSuite Debugger: Dealing with Real-Time Examples and Challenges , NetSuite debugger: Navigating Ad-Hoc Script Debugging this article is the 4th piece in our debugger series.
In this article, we'll talk about how to debug version 2.1 scripts using NetSuite debugger.
We'll keep it short and to the point, focusing only on what you need to know about SuiteScript Debugger 2.1.
Background of SuiteScript Debugger 2.1
Exploring SuiteScript 2.1 Debugging: A Hands-On Demo
Limitations of Using debugger:
(note: these apply regardless of the script version used in the debugger)
One Script at a time: Can only debug a single script during a session. Trying to debug multiple scripts in different browser windows will result in the same session appearing in both windows
Debugging User's Own Scripts: Users can only debug their own scripts in their current login session. (Personally, I sometimes find myself leaving the script in testing mode, which leads to functionalities not triggering for other users. I often wonder why a functionality isn't working, only to realize it's because I forgot to switch it back to released mode. As developers, it's essential to keep an eye on switching scripts back to released mode once debugging is finished)
领英推荐
Usage Limit:A 1000 unit usage limit applies to all scripts being debugged.
Scripts such as Scheduled scripts have a 10,000 unit limit when running in NetSuite, will throw an error when reaching 1000 units while being debugged
Disabled Email Error Notification: Email error notification is disabled for scripts being debugged using debugger.
Deployed Client Scripts are not supported, Instead, use the 'debugger' keyword in your script and debug directly in the browser.
Debugger Timeouts
For SuiteScript 1.0 and 2.0
For SuiteScript 2.1
Five-Minute Idle Timeout: If there's no user action within the debugger for five minutes, Chrome DevTools disconnects and displays an Idle Timeouts page.
Overall Time Limit:
Other things to remember
Keep an eye on the release notes for any future updates to the NetSuite debugger.
Managing Director at SuitePark InfoTech | NetSuite Solution Provider (Technical and Functional)
11 个月Hi, you made that video for kids in youtube, so no one can comment on that, if that’s not you wanted then change whenever you find time.
Senior Desktop Engineer at Carisma Solutions
1 年It's a good article. This will surely help NetSuite developers ??