---
schema_version: "1"
id: ca30e7fd89444719df3504b2fb2fcbe16c2fa474be8e1a139f4c2fa56cfb848e
title: Limitations for Debugging with Lightning Web Security Enabled
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lwc/lightning-components-security/guides/lws/lws-debug-limitations.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-debug-limitations.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0343d15a31063cce787fc05a994ea6cf26fe6b060ee819866e8ca9e98875960c
products:
  - Security for Lightning Components
  - lwc
---
# 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](/docs/platform/lwc/guide/debug-production-mode.html) can’t be reproduced when you enable [debug mode](/docs/platform/lwc/guide/debug-debug-mode.html).
- 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](https://developer.chrome.com/docs/devtools).
- Some browser extensions and plugins can interfere with debugging. Try disabling them if you run into issues.
