Develop Secure Code
Enable Debug Mode
Disable Caching for Debugging
Use Chrome DevTools
Debug Wire Adapters
Debug with LWS Enabled
Debug Mobile Components
You can test mobile basics, like small screen sizes and responsive design, in a desktop browser using tools like Device Mode in Chrome DevTools. To review mobile-specific features, use the Salesforce Mobile app on a real mobile device.
With Lightning on Mobile, the desktop and mobile versions of Salesforce provide the same user interface: Lightning Experience. This means that, while it’s not a substitute for comprehensive testing on actual mobile devices, you can use your desktop browser to run and debug many aspects of your mobile Lightning apps and components.
Chrome DevTools Device Mode lets you simulate these aspects of mobile devices:
To learn more about Device Mode, refer to Simulate Mobile Devices with Device Mode in Chrome DevTools on the Google Chrome DevTools website.
See Also