Friday, September 21, 2018

Debug Netsuite Client-Side Scripts in Google Chrome with IntelliSense

 

Google Chrome has its own console in debugging scripts. One good thing about it is that it has intelli-sense which is very useful for Netsuite client-script debugging.

To setup debugging tool for Google Chrome:

1. On a Google Chrome browser, login to a Netsuite account.
2. Select the tools menu, the "wrench" icon at the top-right of your browser window

3.   Select Developer > Javascript Console or Developer > Developer Tools

4. Type in "nlapi" and notice that there would be intelli-sense to return available API's for Netsuite.

 

* Shortcut for step 2-3 is "Ctrl + Shift + J" for Javascript Console
* Shortcut for step 2-3 is "Ctrl + Shift + I" for Developer Tools
* Steps were tested on newest version at the time of writing (Google Chrome ver 21.0.1180.89 m)

 

No comments:

Post a Comment