cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Session Timeout

Former Member
0 Kudos

Hi experts.

I have a trouble about debug. My Hybris version is 5.5.1 and Ee version is 4.4.2

I made "trail" in Ee's Debug Configurations > Remote Java Application with No "Project"(blank) ,Host:localhost, Port:8000, Allow termination of remote VM unchecked. After that, I start Hybris sever with debug mode, and push Debug on Ee's Debug Configurations. Waiting for a while, Ee says 'Launching trail' has encountered a problem. Failed to connect to remote VM. Connection timed out.

Details Failed to connect to remote VM. Connection timed out. org.ee.jdi.TimeoutException

Any settings needed except I did below?? Please give me any help.

Best regards

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member636375
Participant
0 Kudos

Thank you for your answer Jonathan

Former Member
0 Kudos

if your issue fixed.. accept the answer.. so that this thread can be completed

Former Member
0 Kudos

Wow it works! my address seems to be "8001", not "8000". Thank you very much Jonathan!!! And I fell also great thanks to Vinay!

Former Member
0 Kudos
  1. Start hybris with debug mode should be like this: bin/platform/hybris.bat debug

  2. When the server starts look out for this line near the top of the console: "Listening for transport dt_socket at address: 8000"

  3. For your debug configuration, you'll need to select "Standard (Socket Attach)" as the connection type and use the default of "localhost" and "8000". Ensure your hybris is using 8000 as the debug by checking the message above.

  4. You can have any project selected to do this. I normally select "platform" and then I add all the other projects in the "Source" tab

Former Member
0 Kudos

Thanks Vinary Do you mean setting my storefront project in the Project of "trail"? If so, same error happened...

Former Member
0 Kudos

I hope you are doing the same.. i attached the screenshot. Start hybris in Debug mode. After you selected what is showin in the screen and click on Debug

Former Member
0 Kudos

Thank you for you very quick response, Vinary. I set "-storefront", so I tried to set "-cockpit", as you show. But it was timed out as well. Is it possible that the "Source" is too many to start debug? I use yaccelerator for some reason.Because of its dependencies, I import so many projects in my Ee. Could you show me the"Source" tab?

Former Member
0 Kudos

that also might cause problem.

Former Member
0 Kudos

select your storefront project in your remote application