Show answerHide answer
Correct answer: A The cartridge containing the script isnot in the site’s cartridge path
Explanation
Explanation:In Salesforce B2C Commerce, the Script Debugger (accessed via Business Manager → Administration → Development Setup → Debug Center or directly in the IDE plugin) can only set and hit breakpoints on scripts that are resolvable in the current site's cartridge path.
If the cartridge containing the script is not on the site's cartridge path (Business Manager → Administration → Sites → Manage Sites → [Your Site] → Settings → Cartridges), then:
- The debugger cannot locate the source file at runtime.
- Breakpoints appear as "unverified" (grayed out or hollow circles in VS Code/Eclipse).
- The debugger shows "Breakpoint ignored" or simply never stops there.
This is the most common reason why a breakpoint on a specific script is not resolved or hit.
Why the other options are incorrect
B. The script debugging session is not active
→ If no debugging session is active, no breakpoints work at all (not even on core cartridges). The developer would notice this immediately on any script. The question specifies one specific script fails while others presumably work.
C. The script is from a third-party cartridge and hence does not allow setting breakpoints
→ This is false. Third-party cartridges (e.g., int_klaviyo, int_cybersource, etc.) fully support breakpoints as long as they are on the cartridge path. Salesforce does not restrict debugging on third-party code.
Confirmation
Salesforce Help: "The debugger can only stop at breakpoints in cartridges that are included in the site's cartridge path."
Known limitation in SFCC IDE plugins (WebStorm, VS Code, Eclipse): Breakpoints in cartridges outside the path are marked as unverified.
Solution
Add the missing cartridge to the site's cartridge path (and restart or reconnect the debugger session if needed).