Install Local Development Server Plugin
Debug in iOS
Debug in Android
Previous Versions
The best way to develop and debug your Lightning web components is the same way you develop and debug anything built with HTML, CSS, and JavaScript: with the debugging tools built into your web browser.
The rest of this tutorial guides you through connecting your desktop browser’s developer tools to the WebView within the Field Service mobile app. From there, debugging an LWC running on a mobile device is like any other web app debugging session.
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.
Connect Safari Web Inspector on your desktop to the WebView in the Field Service mobile app where your LWC is running.
Connect Chrome DevTools on your desktop to the WebView in the Field Service mobile app where your LWC is running.