Enable Debug mode for LWC

by Rijwan Mohmmed
0 comment
enable-debug-mode-for-lwc-techdicer

Hello folks, today we will discuss the Enable Debug mode for LWC. We mostly get issues when we develop a component by LWC and always check debugs in the browser and inspect the console tab. But here we can’t check code lines without enabling debug logs in salesforce org. So salesforce provides us with enable debug mode when doing development.

Key Highlights :

  1. Can see unminified javascript in inspecting.
  2. Custom formatting.
  3. Can check Developer mode console warnings.

Process :

Step 1: Setup > Debug Mode > Click this

enable-debug-mode-setting-techdicer

Step 2: Here we selected the User for which we want to enable or disable debug mode.

enable-debug-mode-user-setting-techdicer
enable-debug-mode-user-setting-techdicer

Step 3: Click the Enable button. that’s it selected User now checks the proper console and warning in the browser inspection.

Output :

enable-debug-mode-LWC-output-techdicer
enable-debug-mode-LWC-output-techdicer

Reference :

  1. Debug Your Lightning Web Components
What’s your Reaction?
+1
0
+1
0
+1
0
+1
0
+1
0
+1
0

You may also like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.