iOS WiFi debugging
This tutorial guides you through debugging an iOS device over WiFi from macOS. WiFi debugging frees you from the USB cable and lets you debug wirelessly.
Prerequisites
Section titled “Prerequisites”Before you start, make sure you have:
- The latest version of WebDebugX installed
- A computer running macOS
- An iOS device running iOS 12.0 or later
- The iOS device and the macOS computer on the same WiFi network
- Xcode and the iOS development tools installed
Note: WiFi debugging requires both the iOS device and the macOS computer to be on the same WiFi network, with good network quality.
1. Initial USB connection
Section titled “1. Initial USB connection”The first time you set up WiFi debugging you need to connect over USB:
- Connect the iOS device to the macOS computer with a USB cable
- Trust the computer on the iOS device
- Open WebDebugX
2. Enable WiFi debugging
Section titled “2. Enable WiFi debugging”- Select your iOS device in the device list
- Click Settings
- Find the WiFi debugging option in the settings panel
- Enable WiFi debugging
- Wait for the device to establish the WiFi connection
3. Disconnect USB
Section titled “3. Disconnect USB”Once the WiFi connection is established:
- Confirm the device status shows Connected
- Safely disconnect the USB cable
- The device keeps its WiFi debugging connection
Using WiFi debugging
Section titled “Using WiFi debugging”Connection management
Section titled “Connection management”- View device connection status
- Monitor network quality
- Manage multiple device connections
- Switch between connection methods
Debugging features
Section titled “Debugging features”WiFi debugging supports all the standard debugging features:
- Element inspection
- JavaScript debugging
- Network analysis
- Performance monitoring
- Console interaction
Network requirements
Section titled “Network requirements”For a stable WiFi debugging experience:
- Use a 5 GHz WiFi network if one is available
- Make sure signal strength is good
- Avoid congested networks
- Keep the device and computer on the same network
Troubleshooting
Section titled “Troubleshooting”Connection problems
Section titled “Connection problems”- Check the WiFi network connection
- Confirm the device IP address
- Verify firewall settings
- Try reconnecting the device
Performance problems
Section titled “Performance problems”- Check network latency
- Optimize network settings
- Reduce the number of simultaneously connected devices
- Consider using a USB connection instead
Security notes
Section titled “Security notes”- Only use WiFi debugging on networks you trust
- Avoid using it on public networks
- Keep the device and software up to date
- Take care to protect the debugging session
Best practices
Section titled “Best practices”- Use USB for the initial setup
- Keep the device and computer on the same network
- Check the connection status regularly
- Back up important data
- Use a stable network environment