From 2003e0d8919371ee9db1d9d5436b3a42945004c1 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Mon, 13 Jun 2022 18:07:28 -0700
Subject: [PATCH] Enable Xdebug

---
 plugins/templates/before-script.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plugins/templates/before-script.yml b/plugins/templates/before-script.yml
index 84dacb5..8cf8772 100644
--- a/plugins/templates/before-script.yml
+++ b/plugins/templates/before-script.yml
@@ -14,3 +14,6 @@ before_script:
 
   # PHPUnit requirements
   - composer global require yoast/phpunit-polyfills
+
+  # Enable Xdebug for coverage reports
+  - echo "extension=xdebug.so\nxdebug.mode=coverage" > /usr/local/etc/php/conf.d/xdebug.ini
-- 
GitLab