SFDX and streaming logs
One of the biggest changes for Salesforce developers over the past few years has been the launch of SFDX. SFDX is a set of tools that aims to streamline the entire development life cycle and has vastly improved the lives of most Salesforce developers.
One of the most useful aspects of SFDX is the CLI, which is the core of SFDX from a developer’s perspective. By integrating SFDX with the CLI, Salesforce has enabled developers to obtain the power of the command line in their development and, most importantly for us, in debugging. For this section of the book, I am assuming you are using the VS Code editor and that the SFDX CLI is installed on your machine. If you have not got these installed, I recommend heading over to the Trailhead modules that cover them (at the time of writing, Quick Start: Visual Studio Code for Salesforce Development should be enough to get the basics set up and running). We will use VS Code and its project format as our baseline...