Skip to content

Update SIMPLETEST_BASE_URL to use DDEV_PRIMARY_URL#19

Merged
amateescu merged 1 commit into
amateescu:mainfrom
mstrelan:simpletest-base-url
May 19, 2026
Merged

Update SIMPLETEST_BASE_URL to use DDEV_PRIMARY_URL#19
amateescu merged 1 commit into
amateescu:mainfrom
mstrelan:simpletest-base-url

Conversation

@mstrelan
Copy link
Copy Markdown
Contributor

The Issue

When using xdebug in a test the test itself uses the ddev hostname as the server name, but the SUT uses web. This means we need two sets of path mappings. If you have multiple projects open and listening for connections they might both have a web server and conflict.

How This PR Solves The Issue

Just use the ddev hostname instead of hardcoding to http://web

Manual Testing Instructions

ddev add-on get https://github.com/amateescu/ddev-drupal-dev/tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head
ddev restart

Automated Testing Overview

Release/Deployment Notes

@amateescu
Copy link
Copy Markdown
Owner

Looks good to me, thanks!

@amateescu amateescu merged commit 0a4ceaa into amateescu:main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants