Quick Start
This guide will help you get started with Chrome Remote DevTools in just a few minutes.
Installation
Install Client Package
To use Chrome Remote DevTools in your web page, you need to install the client package:
Start the Development Servers
1. Start the WebSocket Relay Server
The server will start on http://localhost:8080 by default.
2. Start the Inspector (Web Version)
In a new terminal:
The Inspector will be available at http://localhost:5173 (or the port shown in the terminal).
3. Initialize the Client in Your Web Page
Using ESM module (TypeScript/React etc.):
Using script tag (IIFE):
Configuration Options
serverUrl: WebSocket server URL (usewss://for HTTPS,ws://for HTTP)rrweb.enable: Enable session replay recording (optional, default:false)rrweb.enableExportButton: Show export button on page (optional, default:false)skipWebSocket: Skip WebSocket connection and use postMessage only (optional, default:false)
Your First Debugging Session
- Open your web page with the client script loaded
- Open the Inspector in your browser (
http://localhost:5173) - Select your client from the list
- Start debugging!
The Inspector will connect to your page and you can use all DevTools features:
- View and interact with the console
- Inspect the DOM
- Monitor network requests
- Debug JavaScript
- And much more!
Next Steps
- Learn about the Architecture
- Try the Playground
- Read the API Documentation