I know this may be slightly off-topic, but I'm running out of places to turn to for help, and hoping someone's had experience with this.

I have Acquia Dev Desktop installed, and a local D8 site, running PHP 7.1.12 on a Mac, not Windows.

I'm trying to install Xdebug, but no luck. Acquia doesn't include xdebug with PHP 7.1.12. Nor can they help, as it's out of their scope.

I've found instructions in two places and followed them exactly. First by following instructions generated here: https://xdebug.org/wizard.php Second, I followed instructions here to see if I'd missed anything: https://gist.github.com/paulmaclean/385f2ae9aee5058dbfcf026c0b6d4fb8

In PHP.ini, I've replaced this line:

zend_extension="/Applications/DevDesktop/php7_1/ext/opcache.so"

with this:

zend_extension="/Applications/DevDesktop/php7_1/ext/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_log=/tmp/xdebug.log

After restarting the server, "xdebug" is Nowhere in the .ini file.

I've tried signing up to xdebug's support mailing list (here: https://xdebug.org/support.php) but gotten no reply from the daemon. I don't know if it's the daemon or our office's security settings, which are very strict.

So... I'm in a limbo and unable to manage something that seemed like it should be pretty simple.

  • Replace Acquia Dev Desktop with Lando, DDEV, or DrupalVM for starters. Not having xdebug is pretty bad, and almost every stack out there now comes with it. It will change your debugging issues for the best. – Kevin Dec 6 at 20:53
  • Interesting options, but I'm at the mercy of the employer, and it's a security company with an extreme abundance of caution about allowing anything but what's already been 'sanctioned' on their computers – turpentyne Dec 6 at 21:12
  • 1
    In my opinion, no offense for those who support it, Acquia DevDesktop is only barely supported as it is. It nearly didn't survive changes in 8.3 last year. A close alternative would be try to build off of the same pieces that DevDesktop uses - which is xampp if I recall correctly. It should be more straight-forward to do that. However I recommend one of the virtualization solutions, and if your employer has any questions you can direct them to ask me directly about local development environments that I help test, deploy and distribute at Drupal events. – mradcliffe Dec 7 at 1:21
  • I've managed to install Docksal. I can get a new install up and running, but not sure how to copy an existing website into a new folder and make that work. Copy-pasting just gives me the set-up page for a brand new site, even though it's a full-fledged site and database. Once I get that far and finish work, the next issue will be getting everything back onto Acquia, as that is our hosting company (Please don't suggest leaving them - it's not my call & we're on contract) ...On a side note, trying to install xdebug has apparently broken dev desktop Drush doesn't even work now. Grrr. – turpentyne Dec 7 at 4:53
  • Getting it to Acquia isn’t difficult, it’s just a git repo. You just git push the changes and they go up. Get Docksal running and don’t worry about dev desktop ever again. – Kevin 2 days ago

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.