Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PHP_IDE_CONFIG work for both command-line and web debugging #2427

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

rfay
Copy link
Member

@rfay rfay commented Jul 29, 2020

The Problem/Issue/Bug:

Unfortunately version v1.15.2 made Xdebug with PHPStorm work fine for people using it for web debugging, but broke it for command-line debugging. See #2424

This revision works with both command-line and web debugging.

How this PR Solves The Problem:

Make sure that PHP_IDE_CONFIG does not get loaded by php-fpm (which breaks web debugging) but does get loaded by ddev ssh (using /etc/bash.bashrc)

Manual Testing Instructions:

Try debugging with PHPStorm both with a web setup and a command-line setup.

Automated Testing Overview:

Related Issue Link(s):

Release/Deployment notes:

@rfay rfay merged commit 82434c1 into ddev:master Jul 29, 2020
@rfay rfay deleted the 20200729_php_ide_config_again branch July 29, 2020 19:51
@brace110
Copy link

Thank you for fixing this promptly.

@rfay
Copy link
Member Author

rfay commented Jul 30, 2020

Thanks! Note that you should use ddev ssh for command-line debugging, not ddev exec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants