MDN wants to learn about developers like you:

Firefox Developer Tools

Remotely debugging Chrome Desktop

How to connect the Firefox Developer Tools to the Google Chrome browser running on the desktop.

Note that our support for this depends on the Valence add-on, which bridges the debugging protocol used by Firefox and that used by Chrome. Support for Valence is still experimental.

This guide is split into two parts: the first part, "Prerequisites" covers stuff you only need to do once, while the second part, "Connecting", covers stuff you need to do each time you connect the device.


You'll need:


Running Chrome

To enable remote debugging on Chrome Desktop you need to start it with the following special flag: --remote-debugging-port=9222. See this guide on running Chrome with flags.

There are some other flags that can be helpful. By running with --no-first-run, --no-default-browser-check, and --user-data-dir you can run Chrome alongside another Chrome instance.

For example, on OS X you could run the following command to start a debuggable copy of Chrome that's separate from any other instances you might have running:

/Applications/Google\\ Chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=$(mktemp -d -t 'chrome-remote_data_dir')

Connecting using WebIDE

In Firefox, open WebIDE. In WebIDE, click "Select Runtime", and select "Chrome Desktop" from the dropdown menu.

Now click the "Open App" menu in WebIDE. You'll see a list of all the tabs open on the device. Click a tab to attach the developer tools to it. Most of the Firefox Developer Tools should now be available. The following tools are not yet supported:



Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,