Categories
lwc Salesforce

How to enable debug mode for Lightning web components ?

How to enable debug mode for Lightning web components?

DEBUGGING IS SEXY

Problem- In the developer environment I want to debug my LWC but it’s coming as minified when rendered in browser sources and also shows proxy data?

Setup > debug mode > select the one under lightning  components

Edit your user > enable “Debug mode”

Now in the browser, you can see the unminified javascript files, and will show real data, which helps in debugging lwc.

Below warning will be shown in the sandbox where debug mode is enabled.

Leave a Reply

Your email address will not be published. Required fields are marked *