I'm using Intellij IDEA
and I run my application on docker container and I need to attach remote debug for my application. But if I use java 8
all works is fine but if I assemble my application using java 11
I couldn't attach remote debug to my app that is running in the Docker container. I get the following error message:
I found my mistake. I'm running my application on the docker container with a configuration for remote debug for java 8 instead of java 11. in that params need to be correct:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
I forgot the *
symbol in the address.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.