...
- Create a new launch application in the Run > Debug Configurations panel by selecting "Remote Java Application" and clicking the upper left-hand button:
- Give it a meaningful name ans select the project associated with the plugin.
- Ensure that the rest of the settings (Host, localhost, Port), are correct:
During the start-up of XperienCentral Community Edition, Tomcat will also display this port in the console (dt_socket): - Ensure that the source files you want to debug are referenced in the "Source" tab of the created launch configuration. For example:
- When you click [Debug], Eclipse will make a connect to your Tomcat installation.
- Switch to the "Debub" perspective (Window > Open Perspective > Debug). You can now add breakpoints to your Java classes using the right mouse button. For example:
Using the buttons in the "Debug" perspective, you can now debug your plugin:
...
Hot Code Replacement for to Remotely Debug Plugin
...