Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Debug JavaScript From Eclipse With ChromeDevTools

DZone's Guide to

Debug JavaScript From Eclipse With ChromeDevTools

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

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. 

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}