# Determine if Lightning Web Security is Enabled

When your user account is [enabled for debug mode](/docs/platform/lwc/guide/debug-mode-enable.md), you can check whether Lightning Web Security (LWS) is enabled.

In Chrome DevTools, look in the **Sources** panel’s **Page** tab. For Lightning web components (LWC), find the component JavaScript files in the folder *your-org-domain*`/lightning/modules/c` or your specific namespace if not using the `c` namespace. For Aura components, look in the folder *your-org-domain*`/lightning/components/c` or your specific namespace if not using the `c` namespace.

Search for the string "LWS Version" in the JavaScript files of the components.

![JavaScript file with LWS Version string highlighted](https://a.sfdcstatic.com/developer-website/sfdocs/lwc/media/lws_version.png)

If LWS is disabled, the LWS version string isn’t found in the components’ JavaScript files.

Although a search can detect the string in `aura_proddebug.js`, the string’s presence in this file doesn’t indicate that LWS is enabled in the org.

**See Also**

- [Delayed Enabling or Disabling of Lightning Web Security](/docs/platform/lightning-components-security/guide/lws-caching.md)
