Skip to content
Advertisement

Docker and jre 11 in Debug mode

I was trying to get a remote debug session running on my docker container.

Actually the debug session always gets blocked by an IOException..

Dockerfile Entrypoint:

JavaScript

Any ideas, whats wrong with this?

Advertisement

Answer

since java 9 you have to specify your adapter, or simply use an escaper for the debug host as such:

JavaScript

great documentation in openjdk btw..

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement