You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Follow the instructions to install [ios-webkit-debug-proxy](https://github.com/g
21
21
#### Windows
22
22
All dependencies should be bundled. You should be good to go.
23
23
24
-
**iOS 10 on Windows**: Please be aware that iOS10 debugging might not work on Windows as the bundled version of [/ios-webkit- debug-proxy-win32](https://github.com/artygus/ios-webkit-debug-proxy-win32) may be out of date.
24
+
**iOS 10 on Windows**: Please be aware that iOS11 debugging might not work on Windows as the bundled version of [/ios-webkit- debug-proxy-win32](https://github.com/artygus/ios-webkit-debug-proxy-win32) may be out of date.
25
25
26
26
#### OSX/Mac
27
27
Make sure you have Homebrew installed, and run the following command to install [ios-webkit-debug-proxy](https://github.com/google/ios-webkit-debug-proxy) and [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice)
### 3) Run the adapter from your favorite command line
43
+
### 3) Enable remote debugging in Safari
44
+
In order for your iOS targets to show up, you need to enable remote debugging.
45
+
46
+
Open iOS Settings => Safari preferences => enable "Web Inspector"
47
+
48
+
### 4) Make your computer trust your iOS device.
49
+
50
+
On MacOS you can use Safari to inspect an iOS Safari tab. This will ensure the device is trusted.
51
+
52
+
On Windows starting iTunes could prompt the "Trust this computer" dialog.
53
+
54
+
### 5) Run the adapter from your favorite command line
44
55
45
56
```
46
57
remotedebug_ios_webkit_adapter --port=9000
47
58
```
48
59
49
60
BTW: `ios-webkit-debug-proxy` will be run automatically for you, no need to start it separately.
50
61
51
-
### 4) Open your favorite tool
62
+
63
+
### 6) Open your favorite tool
52
64
53
65
Open your favorite tool such as Chrome DevTools or Visual Studio Code and configure the tool to connect to the protocol adapter.
54
66
@@ -66,11 +78,6 @@ Options:
66
78
## Usage
67
79
### Usage with Chrome (Canary) and Chrome DevTools
68
80
69
-
In order for your iOS targets to show up in Chrome, you must:
70
-
71
-
- Open iOS Safari preferences and enable "Web Inspector"
72
-
- Use macOS Safari to inspect an iOS Safari tab. This will ensure the device is trusted.
73
-
74
81
You can have your iOS targets show up in Chrome's `chrome://inspect` page by leveraging the new network discoverbility feature where you simple add the IP of computer running the adapter ala `localhost:9000`.
0 commit comments