Activity Forums Salesforce® Discussions How can i debug the javascript code in Salesforce Lightning?

  • Piyush

    Member
    April 30, 2016 at 6:15 pm

    You can use debugger or salesforce lightning Inspector

  • Ajay Prakash

    Member
    February 12, 2018 at 9:17 am

    Lightning component java script can be debug in following manner-

    • Use Chrome + built in Dev Tools + Lightning Component Inspector
    • Make sure that debug mode is enabled in your org (Setup: Lightning Components).
    • Make sure that caching is disabled in your org (Setup: Session Settings -> uncheck "Enable secure and persistent browser caching to improve performance"
    • This reply was modified 6 years, 2 months ago by  Ajay Prakash.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos