Limitations for Debugging with Lightning Web Security Enabled

Browser limitations can affect the debugging experience in orgs where Lightning Web Security (LWS) is enabled. These limitations can only be resolved when browser vendors implement fixes and adopt new standards. Salesforce is working with the vendors.

  • Some issues that you encounter in production mode can’t be reproduced when you enable debug mode.
  • Some Aura errors aren’t surfaced when LWS is enabled.
  • Source code line numbers and source code files referenced in console messages aren’t correct.
  • Recent versions of Firefox sometimes don’t hit breakpoints when LWS is enabled. Instead, we recommend that you use Chrome and Chrome DevTools.
  • Some browser extensions and plugins can interfere with debugging. Try disabling them if you run into issues.

Release Preview

This release is in preview. Features described here don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.