Play by Play: Debugging and Troubleshooting Salesforce Lightning Components
By Don Robins and Mike Topalovich
Course info



Course info



Description
Play by Play is a series in which top technologists work through a problem in real time, unrehearsed, and unscripted. In this course, Play by Play: Debugging and Troubleshooting Salesforce Lightning Components, Mike Topalovich and Don Robins demonstrate how you would guide a team around development best practices for debugging and troubleshooting Lightning Components. Learn whats under the hood of the Salesforce “Single Page Application” (or SPA) architecture, deep dive into troubleshooting CSS style and class hierarchies, and creative debugging approaches. By the end of this course, you’ll have gained some valuable perspective and insight that can help you master the craft of quickly resolving common issues and exceptions, increasing your productivity, and allowing you to stay focused on component delivery.
Section Introduction Transcripts
Course Overview
Welcome to this Salesforce Play by Play with Pluralsight. Salesforce Play by Play is an interactive series where we sit down with Salesforce experts, such as MVPs, consultants, developers, and architects to discuss common challenges faced everyday by Salesforce customers. We'll be learning while discussing concepts and debating tradeoffs on various approaches to solving real world problems. We learn by reviewing system configurations or writing code, and then exploring the benefits of any particular solution. In this course, we challenge Mike Topalovich, Salesforce Application Architect, to explain how he would guide a team around development best practices for debugging and troubleshooting Lightning Components. First, Mike walks us through some key concepts and identifies some of the common issues and wide-ranging errors commonly experienced due to the complexity of the technologies that are used together in the Lightning Component Framework. We peek under the hood of the Salesforce single-page application, or SPA, architecture, and he explains how and why the architecture impacts your component development and debugging as he clarifies the impact of and the difference between adaptive and responsive design patterns. Next, he demonstrates the use of some debugging tools, such as the JavaScript console, the debugger statement, the Lightning Inspector, and the Lightning linter, and provides some strategies for isolating and troubleshooting Markup versus JavaScript issues. He takes us on a deep dive into troubleshooting CSS style and class hierarchies, and along the way shares some creative debugging approaches, and then demonstrates monitoring events, actions, and server-side Apex processing with Chrome's built-in Developer Tools. By the time we're done, you'll have gained some valuable perspective and insight that can help you master the craft of quickly resolving common issues and exceptions, increasing your productivity, and allowing you to stay focused on component delivery. So, please join us for Debugging and Troubleshooting Salesforce Lightning Components. We hope you enjoy it.