The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

vyurik (76) [Avatar] Offline
#1
Hi Ken,
I tried to remote debug wildfly-swarm with Eclipse.
In Chapter 3, I started mvn wildfly-swarm:run from terminal CLI and
put this chapter eclipse in remote debugging mode listening on default port 8000.
I got an error: "Failed to connect to remote VM".
This tells me that automatic remote debugging on wildfly-swarm is not available by default.
Is it possible to configure it?
Thanks,
Vitaly
Ken Finnigan (21) [Avatar] Offline
#2
Hi Vitaly,

To enable debugging when using
mvn wildfly-swarm:run
you need to pass
-Dswarm.debug.port={myDebugPort}


Ken
vyurik (76) [Avatar] Offline
#3
Hi Ken,
Thanks very much for your quick answer.
Works great!
Best regards,
Vitaly