Konrad Windszus created SUREFIRE-2184:
-----------------------------------------
Summary: debugForkedProcess should implicitly set forkCount to 1
Key: SUREFIRE-2184
URL: https://issues.apache.org/jira/browse/SUREFIRE-2184
Project: Maven Surefire
Issue Type: Improvement
Components: process forking
Affects Versions: 3.1.2
Reporter: Konrad Windszus
Very often the parameter
[{{debugForkedProcess}}|https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#debugForkedProcess]
is set through Maven CLI. When used in combination with
[{{forkCount}}|https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#forkcount]
> 1 this always leads to issues as the debug port is obviously blocked if it
is already taken for one fork. Therefore it would be good to implicitly set the
{{forkCount}} to 1 in case {{debugForkedProcess}} is set (with a WARNING in the
log)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)