Closed nicolasduminil closed 7 months ago
Sorry for having submitted this issue which doesn't have anything to do with the wildfly-jar-maven-plugin
. In order to enable debugging in the running container, I just need to do:
docker run --name jsr375 -p 8080:8080 -p 8787:8787 -e JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n" wildfly-bootable/app-layer:latest
There is no need to try doing that in the image.
Kind regards, Nicolas
Environment:
Description of the issue: Can't activate the debug mode in a JIB image. Using the following config:
But I get :
java.lang.RuntimeException: WFLYJAR0011: Unknown argument -Xdebug
. I also tried:but still doesn't work.
Expected behavior: When I start the container, I expect to see in the log file that the debugging is active.
Steps to reproduce:
jib-maven-plugin
Configuration:jib-gradle-plugin
Configuration:Log output: