Debug JavaScript From Eclipse With ChromeDevTools

DZone 's Guide to

Debug JavaScript From Eclipse With ChromeDevTools

· Java Zone ·
Free Resource

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. 


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}