Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Docker for Drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Composer
plugin
Docker for Drupal
Commits
d8e48915
Commit
d8e48915
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#50
Add PHP coverage to debug modes
parent
3e7369f8
No related branches found
Branches containing commit
Tags
v3.5.7
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ahoy.debug.yml
+2
-0
2 additions, 0 deletions
ahoy.debug.yml
templates/docker-compose.yml.twig
+1
-0
1 addition, 0 deletions
templates/docker-compose.yml.twig
with
3 additions
and
0 deletions
ahoy.debug.yml
+
2
−
0
View file @
d8e48915
...
...
@@ -29,4 +29,6 @@ commands:
env -i $(cat .env | xargs) >.env
composer lakedrops:docker4drupal --no-interaction
ahoy d4d up php
dc exec -u root php mkdir -p /opt/phpstorm-coverage/
dc exec -u root php chmod oug+w /opt/phpstorm-coverage/
usage
:
Turn on PHP debugging
This diff is collapsed.
Click to expand it.
templates/docker-compose.yml.twig
+
1
−
0
View file @
d8e48915
...
...
@@ -39,6 +39,7 @@ services:
PHP_XDEBUG: 1
PHP_XDEBUG_MAX_NESTING_LEVEL: 512
PHP_XDEBUG_MODE:
{%
if
php.coverage
%}
coverage
{%
else
%}
debug
{%
endif
%}
PHP_XDEBUG_REMOTE_HOST:
{{
docker0.ip
}}
PHP_XDEBUG_CLIENT_HOST:
{{
docker0.ip
}}
PHP_XDEBUG_LOG: /dev/null
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment