I do not mean the bug that Basil explained in
https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.40This has been fixed already in IntelliJ.
IntelliJ now correctly runs the integration tests with an argLine like:
<argLine>-Djava.awt.headless=true -Xmx1024m -Djenkins.test.timeout=1000 --add-opens java.base/sun.reflect.annotation=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED</argLine>
The problem is, that the argLine seems to be used for `Run With` only but not for `Debug With`.