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.
Linux/Windows iOS testing
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment