Troubleshoot in Lightning Web Security

Developers can run into some common problems when developing and testing components to run in LWS.

See if your issue is addressed here. If you try these troubleshooting techniques without success, you can disable Lightning Web Security in scratch orgs and continue to troubleshoot. We recommend that you re-enable Lightning Web Security as soon as possible.