Salesforce B2C Commerce 23.5 > Developing Your Site > Legacy Developer Documentation > Site Genesis

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 Custom Code Timeouts to control how long a script can run.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.