My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Google Chrome Developer Tools for Java

This project provides debugging tools for developers writing applications that run on Google Chrome or its open-source version Chromium or any V8-based application. The tools enable you to debug JavaScript inside these browsers over the TCP/IP protocol. If you are looking for information on the Google Chrome browser built-in Developer Tools, please have a look at this official primer.

This project comprises:

As the SDK and Eclipse debugger are written in Java, this project is of most benefit to developers who use Java tools for debugging web applications inside Google Chrome. You can use the SDK to write your own debugger that uses the protocol to communicate with Google Chrome.

What's new

Version 0.3.4 has a conspicuous bug in Debugger that stops debugging Google Chrome/Chromium when "Network console" is disabled.

Version 0.3.4 has been released. What's new? How to install?

Version 0.3.2 has been released. What's new? How to install?

Using the Eclipse Debugger

Prerequisites:

  • Eclipse version 3.5 or later (minimal configuration is Eclipse Platform).
  • Google Chrome (or Chromium) version 3.0.189.0 or later (the latest version can be retrieved from the Dev Channel). See version compatibility table for details.

Installation:

How to Debug:

  1. Close all windows of Google Chrome or Chromium browsers. (Debug command-line option doesn't work for secondary browser processes).
  2. Start the Google Chrome (or Chromium) browser as:
    chrome --remote-debugging-port=9222 (or some other debugger port of your choice.)
    Make sure your firewall blocks incoming connections to the chosen port from other machines. Open the URL you want to debug.
  3. Start Eclipse and create a new debug configuration (under Run | Debug Configurations...) from the "WebKit Protocol" configuration type (you might need to switch to the Debug perspective first):







    Then specify the debugger port you have chosen, in the "Remote" tab. Also you need to select a proper WebKit protocol version in Wip backend field.
  4. Start debugging. When prompted, select the tab to debug and click the "OK" button.
  5. In a short while, you will see the browser script sources in a new project.

See a Tutorial for more details. If you found a bug or some other problem, please, report to us.

Powered by Google Project Hosting