Over a million developers have joined DZone.

Debug JavaScript From Eclipse With ChromeDevTools

· Java Zone

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

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. 

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Published at DZone with permission of James Sugrue, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}