Edit the eclipse.ini file, add the following (below -vmargs):
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
Then, in another Eclipse of the same version, you can import the plugins that interest you in debugging. File → Import ... → Development of plugins → Plugins and fragments. Import. From the active platform and "Import as" Projects with source folders "on the next tab, select the plugins you are interested in.
Set appropriate breakpoints.
Then create in Debug Configurations, create a new "Remote Java Application". localhost, port 8000. Add Java projects to the source tab and debug.
Andrew Niefer
source share