In this document you will learn how to get started with debugging on mobile devices and covers the following solutions:
Apple's iOS 6 update introduced Safari Remote Debugging, which allows you debug web pages in the Safari app on iOS devices. To get started, follow the steps below:
Note: The steps in this section were written using a device running Android 11.
Before you can begin debugging content on your device, you need to enable USB debugging in your device settings.
Now that USB debugging is enabled on your device, follow these steps to start remote debugging with Chrome:
chrome://inspect#devices
.chrome://inspect#devices
page, you should see your connected device. Below your device name, you will be able to see a list of all of the pages open in Chrome on your device.
Charles is a web proxy that can be run on your own computer, allowing you to record data that is sent and received via your web browser. Visit the Charles website for more information on this application.
Follow the steps below to get Charles running on your machine.
In this section, you will learn how to set up your iOS device to work with Charles on your computer.
In this section, you will learn how to set up your Android device to work with Charles on your computer.
8888
.
Beginning with Android 7 (SDK v24), the SSL network is no longer directly viewable as this SDK version introduced a new security feature. To see network traffic through Charles, you need to explicitly tell your Android application to allow SSL intercepts.
In your application, open the AndroidManifest.xml file.
In the application
section, add a networkSecurityConfig
option.
In an xml resource folder, add a network_security_config.xml
file as follows:
For details, see the following: