Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit 87e10b9

Browse files
authored
Make instructions a bit more clear.
1 parent f55917a commit 87e10b9

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Follow the instructions to install [ios-webkit-debug-proxy](https://github.com/g
2121
#### Windows
2222
All dependencies should be bundled. You should be good to go.
2323

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.
2525

2626
#### OSX/Mac
2727
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)
@@ -40,15 +40,27 @@ brew install --HEAD ios-webkit-debug-proxy
4040
npm install remotedebug-ios-webkit-adapter -g
4141
```
4242

43-
### 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
4455

4556
```
4657
remotedebug_ios_webkit_adapter --port=9000
4758
```
4859

4960
BTW: `ios-webkit-debug-proxy` will be run automatically for you, no need to start it separately.
5061

51-
### 4) Open your favorite tool
62+
63+
### 6) Open your favorite tool
5264

5365
Open your favorite tool such as Chrome DevTools or Visual Studio Code and configure the tool to connect to the protocol adapter.
5466

@@ -66,11 +78,6 @@ Options:
6678
## Usage
6779
### Usage with Chrome (Canary) and Chrome DevTools
6880

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-
7481
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`.
7582

7683
![](.readme/chrome_inspect.png)

0 commit comments

Comments
 (0)