Limitations for Debugging with LWS Enabled

The debugging experience when LWS is enabled is affected by browser limitations. 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. Use the recommended Chrome DevTools.
  • Some browser extensions and plugins can interfere with debugging. Try disabling them if you run into issues.