Add CI_DEBUG_SERVICES to investigate DB failures

Migrated issue

Reported by: fjgarlin

Related to !107 (closed)

Clone from #3414093: Investigate random failures in nightwatch and phpunit for contrib.

Problem/Motivation

It's been reported both in core and contrib that some test jobs fail due to DB not being available (?)

Core
https://git.drupalcode.org/issue/drupal-1959304/-/jobs/573143

Contrib
https://git.drupalcode.org/project/cdn/-/pipelines/75330

Steps to reproduce

Proposed resolution

Add CI_DEBUG_SERVICES=true to .gitlab-ci.yml so we can get detailed information on what's happening in the database from a test that will fail.
Revert the change as soon as we find one job that will fail due to this

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Related issue: Issue #3414093

Edited by drupalbot