Im trying to enable remote debugging for an eclipse plugin project, for the purpose of using IntelliJ IDEA as a debugger.
The steps I've taken so far:
- Launch Eclipse.
- Run -> Debug Configurations...
- Create a new "Eclipse Application" (as to launch a local workspace which loads the plugin).
- Add
-Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n
to VM arguments. - Press the Debug button.
I get the following error:
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options. Error occurred during initialization of VM agent library failed to init: jdwp
What steps should I be taking to get IntelliJ IDEA to be able to debug an Eclipse Plugin running in a runtime workspace?