Debug Lightning Web Components
The simplest way to run and debug a component during development is to create a Lightning Page and add your component to it. Then load the Lightning Page in your preferred browser and use your favorite inspection and debugging tools. LWC debugging is optimized for Chrome DevTools.
This content is adapted from Salesforce Principal Developer Evangelist René Winklemeyer’s blog post, Debug Your Lightning Web Components.
- Salesforce Developers Blog: Debug Your Lightning Web Components
- Supported Browsers
- View Component Dependencies