Debugging Scripts

UX Studio lets you debug Salesforce B2C Commerce scripts (.js extension) and JavaScript (.js extension) running on your instance. In B2C Commerce 15.4 and later, you can debug scripts using the B2C Commerce plugin Script Debugger, the Script Debugger API, or the JSDT (JavaScript Development Tools editor available for Eclipse.

Note: Script debugging is disabled on Production instances to ensure data security.

The debugger lets you:

It's important to understand that script debugging impacts script execution performance. When you launch a script debugging session, the server must evaluate the script's current position to determine when a breakpoint is reached. Use script timeouts to control how long a script can run.