Skip to content
Snippets Groups Projects
Commit 66d958f3 authored by Sebastien's avatar Sebastien
Browse files

fix xdebug3 on mac

parent 080c4650
No related branches found
No related tags found
1 merge request!71Tuleap 189 re enable xdebug on mac
Pipeline #872 passed
......@@ -23,8 +23,9 @@ if [ "$ENV" == "prod" ]; then
else
if [[ "$(uname -r)" =~ "linuxkit" ]]; then
# Connect back does not work in non Linux, deactivate it and use host.docker.internal url
sed -i -e "s/xdebug.remote_connect_back=1/xdebug.remote_connect_back=0/" $xdebug_conf
echo "xdebug.remote_host = host.docker.internal" >> $xdebug_conf
sed -i -e "s/xdebug.discover_client_host=true/xdebug.discover_client_host=false/" $xdebug_conf
echo "" >> $xdebug_conf
echo "xdebug.client_host = host.docker.internal" >> $xdebug_conf
fi
npm run watch &
fi
......
[xdebug]
xdebug.client_port=9000
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment