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 number 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 and debug using the JS files displayed in the lws folder described in Debug Components in an Org With LWS Enabled.
  • Some browser extensions and plugins can interfere with debugging. Try disabling them if you run into issues.