Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Install Local Development Server Plugin
Whether you’re debugging your component for iOS or Android, you must first install the
LWC Development Server for mobile.
-
In a terminal window in VS Code or Terminal, run the following command to ensure you’re
using the latest version of Salesforce CLI.
1sf update -
In the same terminal window, run the following command to install the LWC Development
Server for mobile.
1sf plugins install @salesforce/lwc-dev-server