Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 76 forks source link

wip backend plugins #178

Open RaymondQiu opened 10 years ago

RaymondQiu commented 10 years ago

Hey, I saw we included the wip backend plug-ins source code in after I installed nodeclipse, I did not see those backends if I chose the webkit debug launch configuration. Am I supposed to get the wip backends from the original google chrome dev tool update site?

paulvi commented 10 years ago

Nodeclipse has chrome dev tool 0.3.9 fixed for debugging Node.js by @tomotaro1065 .

What is wip backends ?

ghost commented 10 years ago

https://code.google.com/p/chromedevtools/wiki/WipBackends

WIP Backends is a design artifact of WebKit Remote Debugging Protocol client implementation. It allows to have several different protocol implementations behind the single SDK interface. Technically WIP backend is a sub-library that should be used together with the main SDK library. There are several of them.

This is how Java SDK tolerates the fact that different versions of Google Chrome/Chromium simultaneously available may have incompatible protocols.

WIP Backend is currently a user-visible detail. This means that it's a user responsibility to correctly select a proper WIP Backend before attaching from debugger. Each backend is presented in Debugger UI in Debug Configurations dialog with a small declaration of compatible browser versions.

The exact set of backends change from release to release. That's why they are normally listed in release notes.

WIP Backends are deployed as a separate Eclipse feature "ChromeDevTools SDK WIP Backends".

paulvi commented 9 years ago

Why we are talking about WipBackends ?

What is the problem that is addressed?

hwellmann commented 9 years ago

The WebKit Protocol Debug Configuration has a dropdown list labelled "Wip backend". The list is empty. When launching the configuration, there is an error message complaining that no Wip backend is selected.

The real question is, how do I debug a client-side JavaScript web application in Nodeclipse, or is this possible at all?

paulvi commented 9 years ago

OK, this is continuation of http://stackoverflow.com/questions/28787462/how-to-run-and-debug-an-angularjs-application-in-eclipse

The real question is, how do I debug a client-side JavaScript web application in Nodeclipse, or is this possible at all?

Nodeclipse started as effort to support Node.js dev in Eclipse, over time it included related and helping plugins, but how to use them is out of scope.

The last time I researched about client-side JavaScript debugging was a year or two ago, now I can't really advise. Also I don't think this is related to wip backend plugins.

@all I am doing Android dev now, no time to research on JavaScript.