Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Memorekall Member New
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Rekall
Memorekall Member New
Commits
66d958f3
Commit
66d958f3
authored
3 years ago
by
Sebastien
Browse files
Options
Downloads
Patches
Plain Diff
fix xdebug3 on mac
parent
080c4650
No related branches found
No related tags found
1 merge request
!71
Tuleap 189 re enable xdebug on mac
Pipeline
#872
passed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/symfony/entrypoint.sh
+3
-2
3 additions, 2 deletions
docker/symfony/entrypoint.sh
docker/symfony/xdebug.ini
+2
-0
2 additions, 0 deletions
docker/symfony/xdebug.ini
with
5 additions
and
2 deletions
docker/symfony/entrypoint.sh
+
3
−
2
View file @
66d958f3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docker/symfony/xdebug.ini
+
2
−
0
View file @
66d958f3
[xdebug]
xdebug.client_port
=
9000
xdebug.mode
=
debug
xdebug.start_with_request
=
yes
xdebug.discover_client_host
=
true
\ No newline at end of file
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