Debug JavaScript From Eclipse With ChromeDevTools
Google have just released ChromeDevTools, which enables developers to debug JavaScript for the Chrome browser from Eclipse.
The project comprises:
- A ChromeDevTools SDK that provides a Java API that enables a debugging application to communicate with a Google Chrome browser from the localhost using the TCP/IP-based Google Chrome Developer Tools Protocol.
- An Eclipse debugger that uses the SDK. This debugger enables you to debug JavaScript running inside Google Chrome tabs from the Eclipse IDE. This means you can set breakpoints, inspect variables and evaluate expressions just like you would using the JDT in Eclipse. The screenshot shows the debugger in action stopped at a breakpoint.

Full details, and instructions on how to get setup are available on the ChromeDevTools project page. I'm happy to see this consistent backing from Google for Eclipse plug-ins since the Android developer tools.
James is a DZone Zone Leader and has posted 231 posts at DZone. You can read more from them at their website.
- Login or register to post comments
- 1606 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)









