Expand my Community achievements bar.

SOLVED

How to add debug configuration

Avatar

Level 1

Hi,

 

I have started my AEM instance in debug mode using the below command. But not getting how to add debug configuration in my IDE. Could you please guide me on this?

command I used

 

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar AEM_6.5_Quickstart.jar

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Tanmay_Varade ,

 

Could you please share which IDE you are using?. If you are using IntelliJ then please follow the below steps as shown in screenshots.

 

1. click Add Configuration

2. click Add

3. select Remote JVM Debug

MayurSatav_0-1650956878060.png

 

4. Give any name to your configuration. 

If you are using a different port then update it otherwise keep it default.

5. Apply the changes and then select Ok.

MayurSatav_1-1650956893253.png

 

Then simply select your debug point and RUN

 

MayurSatav_2-1650957134476.png

 

Thanks

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Tanmay_Varade ,

 

Could you please share which IDE you are using?. If you are using IntelliJ then please follow the below steps as shown in screenshots.

 

1. click Add Configuration

2. click Add

3. select Remote JVM Debug

MayurSatav_0-1650956878060.png

 

4. Give any name to your configuration. 

If you are using a different port then update it otherwise keep it default.

5. Apply the changes and then select Ok.

MayurSatav_1-1650956893253.png

 

Then simply select your debug point and RUN

 

MayurSatav_2-1650957134476.png

 

Thanks