Skip to content
Snippets Groups Projects
Commit a0b14653 authored by Simon Gilli's avatar Simon Gilli Committed by Christian Kuhn
Browse files

[TASK] runTests.sh: xdebug trigger works with macOS and WSL2

docker on mac and windows WSL2 encapsulate a VM into
the system. The current xdebug remote config does not
work in those cases since the host IP can not be
determined with the current solution.

Switching to host.docker.internal works for macOS
and WSL2, and works for linux too in combination with
an extra_hosts setting.

This requires linux to use at least docker 20.10,
which shouldn't be a huge issue with casual developer
machines.

Resolves: #95999
Resolves: #94932
Releases: master, 10.4
Change-Id: I02acfeefc08f338841b4fecdb952c7da37ff65e1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72194


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 564ce8c3
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment