Changes between Initial Version and Version 1 of RemoteInspectorGTKandWPE


Ignore:
Timestamp:
Nov 21, 2018 7:58:35 AM (21 months ago)
Author:
cadubentzen@gmail.com
Comment:

Add Remote Inspector page for WebKitGTK+ and WPE

Legend:

Unmodified
Added
Removed
Modified
  • RemoteInspectorGTKandWPE

    v1 v1  
     1= Using the Remote Inspector with WebKitGTK+ and WPE
     2
     3The remote inspector enables debugging of web pages in environment where you might not be able to run the web inspector directly, such as WPE running in embedded targets.
     4
     5To 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
     9For example:
     10
     11{{{
     12export WEBKIT_INSPECTOR_SERVER=192.168.0.50:5000
     13MiniBrowser --enable-developer-extras=true https://wpewebkit.org
     14}}}
     15
     16Then, 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{{{
     20MiniBrowser inspector://192.168.0.50:5000
     21}}}