-
Notifications
You must be signed in to change notification settings - Fork 85
How to setup DataImport Tool Debugging on IntelliJ or Eclipse
This wiki helps in understanding how, we can debug the DataImportTool
-
You have to clone the DataImportToolfrom its repository on github
-
Now you need to import the DataImportTool in your preferred IDE like IntelliJ or Eclipse or Spring IDE
-
You need to have gradle installed in your System
How to import the gradle projects in DataImportTool
You need to run this project and then connect through remote configuration given for Eclpise and IntelliJ this involves running tomcatRunWar and running a separate debug process in the given IDE
You can edit your gradle or create a new one, where you have to make sure you are running tomcatRunWar with this VM argument
Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006
In the above command we are asking the VM to create an debug pipe where you can remotely or locally connect through your IDE,
Now you can use your remote config from configurations of your run view in your IDE , these are under your run config only,
This will show you that it is connected if it does not then there could be problems related to not being able to start the server, or something related to port config
Thanks
Please edit if this seems wrong or incorrect