5 | | To run the remote inspector, you need to: |
6 | | - set the environment variable `WEBKIT_INSPECTOR_SERVER=ip:port` before running jsc or a browser/launcher powered by WPE or WebKitGTK+ |
7 | | - enable the WebKitSettings `enable-developer-extras` |
8 | | |
9 | | For example: |
10 | | |
11 | | {{{ |
12 | | export WEBKIT_INSPECTOR_SERVER=192.168.0.50:5000 |
13 | | MiniBrowser --enable-developer-extras=true https://wpewebkit.org |
14 | | }}} |
15 | | |
16 | | Then, open another browser with the same version of WebKitGTK+ (matching the WPE version if it's the case) and open `inspector://ip:port`: |
17 | | |
18 | | |
19 | | {{{ |
20 | | MiniBrowser inspector://192.168.0.50:5000 |
21 | | }}} |