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

Suggestion on how to run bin/xdebug very quickly #1189

Open
HoePe999 opened this issue Jul 11, 2024 · 1 comment
Open

Suggestion on how to run bin/xdebug very quickly #1189

HoePe999 opened this issue Jul 11, 2024 · 1 comment

Comments

@HoePe999
Copy link

We are happy and heavy users of your Docker environment for local development.
Of the many useful commands, bin/xdebug is certainly the most frequently used.
Enabling and disabling xdebug is achieved with

bin/restart phpfpm

As this takes a long time (too long for impatient developers), we have a suggestion on how to run bin/xdebug very quickly:

bin/cli kill -USR2 1

@YevhenZvieriev
Copy link
Contributor

Hi, @HoePe999

I understand that restarting php-fpm using bin/restart phpfpm takes too long. Your suggestion to use bin/cli kill -USR2 1 to speed up this process seems like a viable alternative, and this approach will be quicker if your system is configured to handle the USR2 signal for a quick php-fpm restart. Please make sure your system is properly set up to handle the USR2 signal before applying these changes to avoid any unintended side effects.

If it works for you, I'll implement this ASAP, thx.

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

No branches or pull requests

2 participants