All Projects → RemoteDebug → Remotedebug Ios Webkit Adapter

RemoteDebug / Remotedebug Ios Webkit Adapter

Debug Safari and WebViews on iOS from tools like VS Code and Chrome DevTools

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Remotedebug Ios Webkit Adapter

Lucid
A developer tool for engineers working with React and GraphQL.
Stars: ✭ 397 (-84.51%)
Mutual labels:  devtools, chrome-devtools
Cljs Devtools
A collection of Chrome DevTools enhancements for ClojureScript developers
Stars: ✭ 969 (-62.19%)
Mutual labels:  devtools, chrome-devtools
Re Frisk
Take full control of re-frame app
Stars: ✭ 396 (-84.55%)
Mutual labels:  debugger, devtools
Rawkit
🦊 Immediately Open Chrome DevTools when debugging Node.js apps
Stars: ✭ 306 (-88.06%)
Mutual labels:  debugger, devtools
Rod
A Devtools driver for web automation and scraping
Stars: ✭ 1,392 (-45.69%)
Mutual labels:  devtools, chrome-devtools
Flutter flipperkit
Flipper (Extensible mobile app debugger) for flutter.
Stars: ✭ 330 (-87.12%)
Mutual labels:  debugger, devtools
Backbone Debugger
Chrome Developer Tools extension for debugging Backbone.js applications
Stars: ✭ 702 (-72.61%)
Mutual labels:  debugger, devtools
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-99.26%)
Mutual labels:  debugger, devtools
Puppeteer Webperf
Automating Web Performance testing with Puppeteer 🎪
Stars: ✭ 1,392 (-45.69%)
Mutual labels:  devtools, chrome-devtools
Go Chrome
A golang library for interacting with the Chrome DevTools Protocol. https://chromedevtools.github.io/devtools-protocol/
Stars: ✭ 96 (-96.25%)
Mutual labels:  devtools, chrome-devtools
Sketch Dev Tools
See your plugin logs, inspect the state of Sketch documents, explore actions, and more!
Stars: ✭ 285 (-88.88%)
Mutual labels:  debugger, devtools
React Rewind
Time Travel Debugger for React useReducer
Stars: ✭ 159 (-93.8%)
Mutual labels:  devtools, chrome-devtools
chrome-ext-save-css
Chrome extension to automatically save changes in CSS and JS into local disk.
Stars: ✭ 27 (-98.95%)
Mutual labels:  chrome-devtools, devtools
Ply
CSS inspection aided by visual regression pruning
Stars: ✭ 370 (-85.56%)
Mutual labels:  debugger, devtools
page-walker
Chrome DevTools automation for desktop and mobile devices
Stars: ✭ 18 (-99.3%)
Mutual labels:  chrome-devtools, devtools
Debugger
The faster and smarter Debugger for Firefox DevTools 🔥🦊🛠
Stars: ✭ 4,602 (+79.56%)
Mutual labels:  debugger, devtools
Mare
a Lua 5.3 debugger
Stars: ✭ 242 (-90.56%)
Mutual labels:  debugger, chrome-devtools
useful-forks.github.io
Improving GitHub's Forks list discoverability through automatic filtering. The project offers an online tool and a Chrome extension.
Stars: ✭ 917 (-64.22%)
Mutual labels:  chrome-devtools, devtools
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-97.42%)
Mutual labels:  devtools, chrome-devtools
Flutter Debugger
Stars: ✭ 112 (-95.63%)
Mutual labels:  debugger, devtools

Update on RemoteDebug iOS WebKit Adapter

RemoteDebug is now superseeded by https://inspect.dev/ – a new developer tool for macOS and Windows to inspect and debug your web apps and websites in Safari and WebViews on iOS devices 🤯🎉🔥

Maintenance status: RemoteDebug iOS WebKit Adapter is not proactively maintained or extended.

Original readme

RemoteDebug iOS WebKit Adapter

RemoteDebug iOS WebKit Adapter is an protocol adapter that Safari and WebViews on iOS to be debugged from tools like VS Code, Chrome DevTools, Mozilla Debugger.html and other tools compatible with the Chrome Debugging Protocol.

Read more in the introduction blog post on Medium: Hello RemoteDebug iOS WebKit Adapter: iOS web debugging with Chrome DevTools, VS Code & Mozilla Debugger.html 📡📱

Getting Started

1) Install dependencies

Before you use this adapter you need to make sure you have the latest version of iTunes installed, as we need a few libraries provided by iTunes to talk to the iOS devices.

Linux

Follow the instructions to install ios-webkit-debug-proxy and libimobiledevice

Windows

Install ios-webkit-debug-proxy and libimobiledevice. On Windows you can use scoop:

scoop bucket add extras
scoop install ios-webkit-debug-proxy

OSX/Mac

Make sure you have Homebrew installed, and run the following command to install ios-webkit-debug-proxy and libimobiledevice

brew update
brew unlink libimobiledevice ios-webkit-debug-proxy usbmuxd
brew uninstall --force libimobiledevice ios-webkit-debug-proxy usbmuxd
brew install --HEAD usbmuxd
brew install --HEAD libimobiledevice
brew install --HEAD ios-webkit-debug-proxy

2) Install latest version of the adapter

npm install remotedebug-ios-webkit-adapter -g

3) Enable remote debugging in Safari

In order for your iOS targets to show up, you need to enable remote debugging.

Open iOS Settings => Safari preferences => enable "Web Inspector"

4) Make your computer trust your iOS device.

On MacOS you can use Safari to inspect an iOS Safari tab. This will ensure the device is trusted.

On Windows starting iTunes could prompt the "Trust this computer" dialog.

5) Run the adapter from your favorite command line

remotedebug_ios_webkit_adapter --port=9000

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

6) Open your favorite tool

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

Configuration

Usage: remotedebug_ios_webkit_adapter --port [num]

Options:
  -p, --port  the adapter listening port  [default: 9000]
  --version   prints current version

Usage

Usage with Chrome (Canary) and Chrome DevTools

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.

Using with Mozilla debugger.html

You can have your iOS targets show up in Mozila debugger.html, by starting remotedebug_ios_webkit_adapter --port=9222 and selecting the Chrome tab.

Using with Microsoft VS Code

Install VS Code, and the VS Code Chrome Debugger, then create a launch.json configuration where port is set to 9000, like below:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "iOS Web",
            "type": "chrome",
            "request": "attach",
            "port": 9000,
            "url": "http://localhost:8080/*",
            "webRoot": "${workspaceRoot}/src"
        }
    ]
}

Architecture

The protocol adapter is implemented in TypeScript as Node-based CLI tool which starts an instance of ios-webkit-debug-proxy, detects the connected iOS devices, and then starts up an instance of the correct protocol adapter depending on the iOS version.

How to contribute

npm install
npm start

Diagnostics logging

DEBUG=remotedebug npm start

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].