Newer Version Available

This content describes an older version of this product. View Latest

Debug in iOS

Debugging in iOS currently only works with simulators running on macOS Big Sur or later, and requires using the Safari Technology Preview browser.

Note

  1. Launch Safari on your Desktop.
  2. Select Safari | Preferences.
  3. Select Advanced.
  4. Enable Show Develop menu in menu bar. Then, close the Preferences panel.
  5. Select Develop | Simulator - device - version, where the Simulator is the one that you’ve opened with the Test Harness app for testing your new Lightning web component.
    A window appears, showing the Safari Web Inspector developer tools connected to your simulator. You can use these tools and standard web development techniques to refine and improve your content. Web inspector in Safari

For additional information about the Web Inspector and how to use it, see Apple Web Development Tools (Apple).