Chii: Remote Chrome DevTools Framework

1.15.5 · active · verified Tue Apr 21

Chii is a remote debugging tool that serves as a modern alternative to Weinre, providing a full-featured web inspector experience by integrating the latest Chrome DevTools frontend. It enables developers to inspect and debug web pages across different environments or remote devices by injecting a small `target.js` script into the target page. The package is currently at version 1.15.5, indicating active development with frequent patch releases addressing fixes and minor feature additions (e.g., shadow DOM, dark mode) in its recent 1.x series. Chii operates by running a local server, acting as a proxy between the Chrome DevTools interface and the remote target, offering a familiar and powerful interface for debugging elements, network activity, console logs, and more, which is its primary differentiator against older remote debugging tools.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates global installation, starting the Chii server, and injecting the target script into a web page for remote debugging.

npm install -g chii
chii start -p 8080

# In your target HTML file, inject the script:
# <script src="//host-machine-ip:8080/target.js"></script>

# Then, open http://localhost:8080 in your browser to start debugging.
# Replace 'host-machine-ip' with the actual IP address of the machine running Chii if debugging from a different device.

view raw JSON →