Skip to content

Instantly share code, notes, and snippets.

@munrocket
Last active October 23, 2022 19:30
Show Gist options
  • Save munrocket/6ca807fd2b94d2429b59ed8fb7d50621 to your computer and use it in GitHub Desktop.
Save munrocket/6ca807fd2b94d2429b59ed8fb7d50621 to your computer and use it in GitHub Desktop.

Revisions

  1. munrocket revised this gist Oct 23, 2022. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ios-web-testing.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #### Console On Screen Universal Solution
    ```js
    const scrConsole = document.createElement('div');
    const scrConsole = document.createElement('div');
    scrConsole.id = 'screenConsole';
    scrConsole.style.position = 'absolute';
    scrConsole.style.zIndex = 9e9;
    @@ -10,7 +10,7 @@ scrConsole.style.color = 'white';
    scrConsole.style.fontSize = '.8em';
    scrConsole.style.userSelect = 'none';
    scrConsole.style.webkitUserSelect = 'none';
    document.body.appendChild(screencons);
    document.body.appendChild(scrConsole);
    const addSniffer = (spyTarget) => function() {
    spyTarget.apply(window.console, arguments);
    sniffer([...arguments]);
    @@ -22,7 +22,7 @@ function sniffer(string) {
    let div = document.createElement("div");
    let text = document.createTextNode(line);
    div.appendChild(text)
    screencons.appendChild(div);
    scrConsole.appendChild(div);
    });
    }
    ```
  2. munrocket revised this gist Oct 23, 2022. 1 changed file with 12 additions and 9 deletions.
    21 changes: 12 additions & 9 deletions ios-web-testing.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,16 @@
    #### Console On Screen Universal Solution
    ```js
    const screen = document.createElement('div');
    screen.id = 'screenConsole';
    screen.style.position = 'absolute';
    screen.style.zIndex = 9e9;
    screen.style.bottom = '5px';
    screen.style.left = '5px';
    screen.style.color = 'white';
    document.body.appendChild(screen);
    const scrConsole = document.createElement('div');
    scrConsole.id = 'screenConsole';
    scrConsole.style.position = 'absolute';
    scrConsole.style.zIndex = 9e9;
    scrConsole.style.bottom = '5px';
    scrConsole.style.left = '5px';
    scrConsole.style.color = 'white';
    scrConsole.style.fontSize = '.8em';
    scrConsole.style.userSelect = 'none';
    scrConsole.style.webkitUserSelect = 'none';
    document.body.appendChild(screencons);
    const addSniffer = (spyTarget) => function() {
    spyTarget.apply(window.console, arguments);
    sniffer([...arguments]);
    @@ -19,7 +22,7 @@ function sniffer(string) {
    let div = document.createElement("div");
    let text = document.createTextNode(line);
    div.appendChild(text)
    screen.appendChild(div);
    screencons.appendChild(div);
    });
    }
    ```
  3. munrocket revised this gist Oct 22, 2022. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions ios-web-testing.md
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,10 @@ const screen = document.createElement('div');
    screen.id = 'screenConsole';
    screen.style.position = 'absolute';
    screen.style.zIndex = 9e9;
    screen.style.top = '50px';
    screen.style.color = 'white';
    document.body.prepend(screen);
    screen.style.bottom = '5px';
    screen.style.left = '5px';
    screen.style.color = 'white';
    document.body.appendChild(screen);
    const addSniffer = (spyTarget) => function() {
    spyTarget.apply(window.console, arguments);
    sniffer([...arguments]);
  4. munrocket revised this gist Oct 22, 2022. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions ios-web-testing.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Console On Screen Universal Solution
    #### Console On Screen Universal Solution
    ```js
    const screen = document.createElement('div');
    screen.id = 'screenConsole';
    @@ -22,14 +22,16 @@ function sniffer(string) {
    });
    }
    ```
    Add this script on a page and run web server in same Wi-Fi network `npx servez`.

    MANUAL HOW TO RUN WEB INSPECTOR [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux/Windows with iOS 12.2+

    #### Old Manual How To Run Web Inspector
    [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux/Windows with iOS 12.2+
    ```
    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * In downloaded remotedebug-ios-webkit-adapter directory update typescript and typemoq (`npm i [email protected] && npm i [email protected]`, )
    * Run `npm install`, `npm build` and `npm start` with conected iPhone/iPad
    * Continue onto Step 3 from the readme

    ```
    Also worth noting that chrome://inspect doesn't scan port 9000 by-default so you need to add localhost:9000 using the Configure button.
  5. munrocket renamed this gist Oct 22, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. munrocket revised this gist Oct 22, 2022. 1 changed file with 26 additions and 1 deletion.
    27 changes: 26 additions & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,29 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux/Windows with iOS 12.2+
    Console On Screen Universal Solution
    ```js
    const screen = document.createElement('div');
    screen.id = 'screenConsole';
    screen.style.position = 'absolute';
    screen.style.zIndex = 9e9;
    screen.style.top = '50px';
    screen.style.color = 'white';
    document.body.prepend(screen);
    const addSniffer = (spyTarget) => function() {
    spyTarget.apply(window.console, arguments);
    sniffer([...arguments]);
    }
    window.console.log = addSniffer(window.console.log);
    window.console.error = addSniffer(window.console.error);
    function sniffer(string) {
    string.forEach(line => {
    let div = document.createElement("div");
    let text = document.createTextNode(line);
    div.appendChild(text)
    screen.appendChild(div);
    });
    }
    ```

    MANUAL HOW TO RUN WEB INSPECTOR [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux/Windows with iOS 12.2+

    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
  7. munrocket revised this gist Nov 25, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebu
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * In downloaded remotedebug-ios-webkit-adapter directory update typescript and typemoq (`npm i [email protected] && npm i [email protected]`, )
    * Run `npm install`, `npm build` and `npm start` with conected iPhone
    * Run `npm install`, `npm build` and `npm start` with conected iPhone/iPad
    * Continue onto Step 3 from the readme

    Also worth noting that chrome://inspect doesn't scan port 9000 by-default so you need to add localhost:9000 using the Configure button.
  8. munrocket revised this gist Oct 22, 2019. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,9 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) ON Linux/Windows

    for those who have no idea what they're doing, like myself, here's what I did that worked.
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux/Windows with iOS 12.2+

    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * In downloaded remotedebug-ios-webkit-adapter directory update local typescript and (`npm i [email protected] && npm i [email protected]`, )
    * In downloaded remotedebug-ios-webkit-adapter directory update typescript and typemoq (`npm i [email protected] && npm i [email protected]`, )
    * Run `npm install`, `npm build` and `npm start` with conected iPhone
    * Continue onto Step 3 from the readme

  9. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ for those who have no idea what they're doing, like myself, here's what I did th
    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * In downloaded remotedebug-ios-webkit-adapter directory update local typescript and (`npm i typescript@ltypescript@3.5.3 && npm i [email protected]`, )
    * In downloaded remotedebug-ios-webkit-adapter directory update local typescript and (`npm i [email protected] && npm i [email protected]`, )
    * Run `npm install`, `npm build` and `npm start` with conected iPhone
    * Continue onto Step 3 from the readme

  10. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ for those who have no idea what they're doing, like myself, here's what I did th
    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * In your downloaded remotedebug-ios-webkit-adapter directory update local typescript to latest (`npm i typescript@latest`)
    * In downloaded remotedebug-ios-webkit-adapter directory update local typescript and (`npm i typescript@[email protected] && npm i [email protected]`, )
    * Run `npm install`, `npm build` and `npm start` with conected iPhone
    * Continue onto Step 3 from the readme

  11. munrocket revised this gist Oct 22, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,8 @@ for those who have no idea what they're doing, like myself, here's what I did th
    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * Update local typescript to latest (`npm i typescript@latest`)
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
    * In your downloaded remotedebug-ios-webkit-adapter directory update local typescript to latest (`npm i typescript@latest`)
    * Run `npm install`, `npm build` and `npm start` with conected iPhone
    * Continue onto Step 3 from the readme

    Also worth noting that chrome://inspect doesn't scan port 9000 by-default so you need to add localhost:9000 using the Configure button.
  12. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) ON LINUX/WINDOWS
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) ON Linux/Windows

    for those who have no idea what they're doing, like myself, here's what I did that worked.

  13. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ios-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) ON LINUX/WINDOWS

    for those who have no idea what they're doing, like myself, here's what I did that worked.

  14. munrocket revised this gist Oct 22, 2019. No changes.
  15. munrocket renamed this gist Oct 22, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  16. munrocket renamed this gist Oct 22, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion RemoteWebInspector.md → remote-web-inspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) on Linux

    for those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the readme
  17. munrocket revised this gist Oct 22, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion RemoteWebInspector.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@ for those who have no idea what they're doing, like myself, here's what I did th

    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 (I used 11.15.0) instead of 12 or the next step will fail.
    * Make sure you are using node 11 instead of 12 or the next step will fail. (`nvm install 11 && node -v`)
    * Update local typescript to latest (`npm i typescript@latest`)
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
    * Continue onto Step 3 from the readme

  18. munrocket revised this gist Oct 22, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion RemoteWebInspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) for those who have no idea what they're doing, like myself, here's what I did that worked.
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    for those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
  19. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion RemoteWebInspector.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) for those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the [remotedebug readme](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    * Follow Step 1 from the readme
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 (I used 11.15.0) instead of 12 or the next step will fail.
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
  20. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion RemoteWebInspector.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    MANUAL HOW TO RUN remotedebug-ios-webkit-adapter for those who have no idea what they're doing, like myself, here's what I did that worked.
    MANUAL HOW TO RUN [remotedebug-ios-webkit-adapter](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter) for those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the [remotedebug readme](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
  21. munrocket renamed this gist Oct 22, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  22. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 16 deletions.
    17 changes: 1 addition & 16 deletions RemoteDebug.md
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,9 @@
    For those who have no idea what they're doing, like myself, here's what I did that worked.
    MANUAL HOW TO RUN remotedebug-ios-webkit-adapter for those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the [remotedebug readme](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 (I used 11.15.0) instead of 12 or the next step will fail.
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
    * Continue onto Step 3 from the readme
    * Here are some more comprehensive instructions for Windows in particular:

    Get files from https://github.com/fishbone1/remotedebug-ios-webkit-adapter
    * Install iTunes (https://www.microsoft.com/en-us/p/itunes/9pb2mz1zmb1s)
    * Install scoop (https://scoop.sh)
    * scoop install nodejs nvm
    * scoop bucket add extras
    * scoop install ios-webkit-debug-proxy
    * nvm install 11.15.0 (version 12 doesn't work for the final couple of steps)
    * nvm use 11.15.0 (might have to reopen PowerShell after this, it'll tell you)
    * npm install -g vs-libimobile
    * cd to your download of remotedebug-ios-webkit-adapter
    * npm install
    * npm start
    * Continue onto Step 3 from the readme

    Also worth noting that chrome://inspect doesn't scan port 9000 by-default so you need to add localhost:9000 using the Configure button.
  23. munrocket revised this gist Oct 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion RemoteDebug.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    For those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the [remotedebug readme](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    * Instead of following Step 2 from the readme, download the code from https://github.com/fishbone1/remotedebug-ios-webkit-adapter
    * Instead of following Step 2 from the readme, download the code from [here](https://github.com/arseneyr/remotedebug-ios-webkit-adapter/tree/ios12.2) as described in this [issue](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter/issues/138#issuecomment-493324681)
    * Make sure you are using node 11 (I used 11.15.0) instead of 12 or the next step will fail.
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
    * Continue onto Step 3 from the readme
  24. munrocket renamed this gist Oct 21, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  25. munrocket renamed this gist Oct 21, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  26. munrocket created this gist Oct 21, 2019.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    For those who have no idea what they're doing, like myself, here's what I did that worked.

    * Follow Step 1 from the [remotedebug readme](https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter)
    * Instead of following Step 2 from the readme, download the code from https://github.com/fishbone1/remotedebug-ios-webkit-adapter
    * Make sure you are using node 11 (I used 11.15.0) instead of 12 or the next step will fail.
    * Run npm install and npm start in your downloaded remotedebug-ios-webkit-adapter directory
    * Continue onto Step 3 from the readme
    * Here are some more comprehensive instructions for Windows in particular:

    Get files from https://github.com/fishbone1/remotedebug-ios-webkit-adapter
    * Install iTunes (https://www.microsoft.com/en-us/p/itunes/9pb2mz1zmb1s)
    * Install scoop (https://scoop.sh)
    * scoop install nodejs nvm
    * scoop bucket add extras
    * scoop install ios-webkit-debug-proxy
    * nvm install 11.15.0 (version 12 doesn't work for the final couple of steps)
    * nvm use 11.15.0 (might have to reopen PowerShell after this, it'll tell you)
    * npm install -g vs-libimobile
    * cd to your download of remotedebug-ios-webkit-adapter
    * npm install
    * npm start
    * Continue onto Step 3 from the readme

    Also worth noting that chrome://inspect doesn't scan port 9000 by-default so you need to add localhost:9000 using the Configure button.