Wednesday, March 5, 2014

How to debug Java code when using ANT script In IntelliJ IDEA

This post illustrates how to debug a Java Program which is executing stating from ANT script. This type of situation come across when executing a program which is in jar file and need to add additional parameters which were set up using ANT script arguments

Following is how we can write a ANT script , red highlight two lines support for the debug



The following screen shot illustrates way we can configure Idea IDE to debug Java processor  , this port 5432 need to be same with IDE configuration

If you have any query please post

No comments:

Post a Comment