Since the --debug parameter is always required when the -cc parameter is specified, why not just activate the --debug parameter whenever the -cc parameter is specified and NOT have the user have to also specify it? It would be clearer (+cleaner) to me if the user just had to specify one parameter to activate Code Coverage.
The existing implementation does not implement the dependency between the two options and the debug flag could be turned on when -cc is passed:
Customer feedback:
The existing implementation does not implement the dependency between the two options and the debug flag could be turned on when
-cc
is passed:https://github.com/IBM/dbb-zappbuild/blob/85e0df0ed7d693457473303ba5873524bb5f7797/build.groovy#L424-L434