Debugging Lightning Components

On the client-side, Lightning Components consist of JavaScript, while on the server-side they are an Apex class that does all the server-side logic. Debugging Lightning Components involves an understanding of the debugging techniques used for JavaScript, as well as techniques used for debugging Apex classes.

In this chapter, we will explore the following topics:

  • Chrome extensions that Salesforce offers to debug Lightning Components and analyze their performance
  • Using Chrome developer tools for JavaScript debugging
  • Leveraging the Salesforce Apex Replay Debugger for server-side Apex debugging

We will take the YouTube search component example we built in Chapter 3Lightning Component Building Blocks, to understand ...

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.