unable to debug errai-cdi quickstart

302 Views Asked by At

I have use a Maven archetype for installed errai-cdi quickstart project in Eclipse. But when i run the goal "gwt:debug" the "Gwt developpement Mode" user interface is not launch, the goal execution is blocked at this line written in the console:"[INFO] Listening for transport dt_socket at address: 8000". When i cancel the debugging and re-launch it , i have this error: "[ERROR] ERROR: transport error 202: bind failed: Address already in use" to solve this error, i must close Eclipse.

I don't know if it's a bug or if i have missing something Thank

1

There are 1 best solutions below

2
On BEST ANSWER

You should launch the application with mvn gwt:run.

When you launch with mvn gwt:debug, the Dev Mode process waits for you to connect a Java debugger before it finishes launching. If and when you want to do this, check out this tutorial which has screenshots and step-by-step instructions for attaching Eclipse as a remote debugger.