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.