Skip to content

The process is launched twice in debug mode. #1118

Description

@tcouery-ltr

Describe the bug
Since v0.45.0 version when I launch a maven task 2 process are launch : 1 in debug mode and 1 in normal mode. In the case of jetty:run, the debug process cannot work because the port is already open by the first process.
It works in Run mode, and it works with version 0.44.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to a task a Debug the task
  2. Check the process

Expected behavior
I expect to have only one process running.

Environments (please complete the following information as much as possible):

  • OS: Windows 11 and Linux
  • VS Code version: 1.106.2
  • Extension version 0.45.0

Screenshots
First process:
"java.exe" -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=56641 -classpath "....\plexus-classworlds-2.7.0.jar" "-Dclassworlds.conf=...\m2.conf" "-Dmaven.home=...\apache-maven-3.9.6" "-Dlibrary.jansi.path=...\jansi-native" "-Dmaven.multiModuleProjectDirectory=...\project" org.codehaus.plexus.classworlds.launcher.Launcher jetty:run -f ....\pom.xml

Second process
"java.exe" -classpath "...\plexus-classworlds-2.7.0.jar" "-Dclassworlds.conf=...\m2.conf" "-Dmaven.home=...\apache-maven-3.9.6" "-Dlibrary.jansi.path=...\jansi-native" "-Dmaven.multiModuleProjectDirectory=...\project" org.codehaus.plexus.classworlds.launcher.Launcher jetty:run -f ....\pom.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions