[
https://issues.apache.org/jira/browse/MNG-7358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458561#comment-17458561
]
Odne Hellebø commented on MNG-7358:
-----------------------------------
Ok, I found my problem. When I started to try to make debugging work I made an
alias.
{code:sh}
alias mvnDebug='mvn -Dmaven.surefire.debug="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent
-Djava.compiler=NONE" test'
{code}
basically circumventing the command altogether.
So both the old and the new has the same issue for me, but obviously not for
you. Could you show me your configuration in eclipse?
> Can't debug with mvnDebug with version 4
> ----------------------------------------
>
> Key: MNG-7358
> URL: https://issues.apache.org/jira/browse/MNG-7358
> Project: Maven
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 4.0.x-candidate
> Environment: Linux
> 3.8.3
> $ mvn --version
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Apache Maven 3.8.3 (NON_CANONICAL)
> Maven home: /opt/maven
> Java version: 1.8.0_292, vendor: Oracle Corporation, runtime:
> /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "5.15.5-arch1-1", arch: "amd64", family: "unix"
> 4.0.0
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Apache Maven 4.0.0-alpha-1-SNAPSHOT (3a06530dbce82e2054afa3cc4c81631910474bd0)
> Maven home: /opt/maven-git
> Java version: 1.8.0_292, vendor: Oracle Corporation, runtime:
> /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux", version: "5.15.5-arch1-1", arch: "amd64", family: "unix"
> Reporter: Odne Hellebø
> Priority: Minor
> Attachments: image-2021-12-11-21-55-46-230.png, intellijDebug.png,
> mvnDebugGit.zip, screenshot-1.png
>
>
> When using mvnDebug at version 4, it just skips all the breakpoints in
> intellij.
> These are the settings in intellij
> !intellijDebug.png!
> To reproduce just set some breakpoints in test, and then run
> {code:bash}mvnDebug test{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)