Activity Forums Salesforce® Discussions What is the best way to debug Salesforce Lightning Components (used in the Community Builder)?

  • Vikas Kumar

    Member
    January 23, 2017 at 10:26 am

    Hi Tanu,

    Use the component inside the app and only once it is perfectly ready and host it on community .

    The problem with community is everytime you change you have to preview and publish and that takes lot of time .

    Instead create a lightning App .A sample below

    <aura:application>
    <c:CheckComponent/>
    </aura:application>

    You can open in SFDC with URL /c/c:xyz.app where Xyz is the App name and then you can debug in the browser console .This is really simpler compared to debugging with community skin .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos