You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using Docksal for sometime without any issues. Recently I got a new Macbook (M1 Chip). I installed the latest docker desktop, docksal and tried to setup my project as usual. I had to use this image docksal/cli:php7.4-3.1 instead docksal/cli:2.11-php7.4. The site is working now, but, I can't get the xdebug working. It only breaks at the first line.
Xdebug version: with Xdebug v3.1.3, Copyright (c) 2002-2022, by Derick Rethans
I have setup the mapping on PHPStorm similar to my previous Mac and there's no difference except the domain name changed from .docksal to .docksal.site.
I also get this error when I try to clear drupal cache on the terminal Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.64.1:9000 (through xdebug.client_host/xdebug.client_port) :-( [success] Cache rebuild complete.
But the above error disappears when start listening to the connection on PHPStorm.
These are all the xdebug settings I can find when I go to /admin/reports/status/php of my Drupal site.
The other weird thing I noticed is the even though it says I have loaded php config here /usr/local/etc/php/php.ini, I literally have don't even have a /usr/local/etc dir there. So I'm not sure this is even related. When I try this on the terminal it shows me this output: ❯ php -ini | grep Configuration Configuration File (php.ini) Path => /opt/local/etc/php74 Loaded Configuration File => (none) Configuration
I've installed php via Macports. and I have installed composer globally on my mac.
I have tried a few things from the previous posts but nothing really helped. I tried to do the solution here, but, I don't even have a /etc inside my .docksal directory.
Could some please help me to find the problem here ?. It's really hard to work without xdebug. Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there. sorry about this long post.
I have been using Docksal for sometime without any issues. Recently I got a new Macbook (M1 Chip). I installed the latest docker desktop, docksal and tried to setup my project as usual. I had to use this image
docksal/cli:php7.4-3.1
insteaddocksal/cli:2.11-php7.4
. The site is working now, but, I can't get the xdebug working. It only breaks at the first line.Xdebug version:
with Xdebug v3.1.3, Copyright (c) 2002-2022, by Derick Rethans
I have setup the mapping on PHPStorm similar to my previous Mac and there's no difference except the domain name changed from
.docksal
to.docksal.site
.I also get this error when I try to clear drupal cache on the terminal
Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.64.1:9000 (through xdebug.client_host/xdebug.client_port) :-( [success] Cache rebuild complete.
But the above error disappears when start listening to the connection on PHPStorm.
These are all the xdebug settings I can find when I go to
/admin/reports/status/php
of my Drupal site.![Screen Shot 2022-12-03 at 6 11 50 am](https://user-images.githubusercontent.com/7006839/2053
68321-49e0ca69-be72-4dd4-b6a3-f226f44b2286.png)
The other weird thing I noticed is the even though it says I have loaded php config here
/usr/local/etc/php/php.ini
, I literally have don't even have a/usr/local/etc
dir there. So I'm not sure this is even related. When I try this on the terminal it shows me this output:❯ php -ini | grep Configuration
Configuration File (php.ini) Path => /opt/local/etc/php74
Loaded Configuration File => (none)
Configuration
I've installed php via Macports. and I have installed composer globally on my mac.
I have tried a few things from the previous posts but nothing really helped. I tried to do the solution here, but, I don't even have a
/etc
inside my.docksal
directory.Could some please help me to find the problem here ?. It's really hard to work without xdebug. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions