This document describes how you can enable the Xdebug extension in Pipelines for PHP 8.3. With this, you can generate code coverage reports with PHPUnit.
To enable this extension:
Confirm that Xdebug is available in the PHP image:
This method enables Xdebug for that specific execution. You cannot enable this extension in a persistent manner as that is supported only after you update the php.ini file, requiring access which is not supported in Pipelines.
How do I enable Xdebug in Pipelines? | Acquia Product Documentation