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

Why does xdebug fall off? How to fix? #841

Open
evgeny-2019 opened this issue Oct 9, 2021 · 4 comments
Open

Why does xdebug fall off? How to fix? #841

evgeny-2019 opened this issue Oct 9, 2021 · 4 comments

Comments

@evgeny-2019
Copy link

ISSUE TYPE

  • Documentation

SUMMARY

In php.ini I set the following values:

max_execution_time      = 0
max_input_time          = -1

I put a breakpoint. I open the page. The page loads within 2 minutes. Then I get a 503 error:

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

This prevents me from debugging the code.
How do I fix this?

@jonatanaxe
Copy link
Contributor

You can take this value to increase the time
request_terminate_timeout = 600s

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue:stale This issue has become stale and is marked for auto-close label Apr 16, 2022
@cytopia cytopia added the xdebug label Dec 26, 2022
@stale stale bot removed the issue:stale This issue has become stale and is marked for auto-close label Dec 26, 2022
@nickchomey
Copy link
Contributor

nickchomey commented Dec 28, 2022

I believe I'm having the same issue - after about 150 seconds (2.5 minutes) the step debugging just cuts out.

I've changed request_terminate_timeout in devilbox/cfg/php-fpm-8.1/devilbox-fpm.conf-default, stopped devilbox, and rebuilt the container, but the change doesn't seem to do anything.

Any tips?

Thanks!

Edit: Nevermind - I see that I was just editing the default file (devilbox-fpm.conf-default) - I copied it and just renamed it to devilbox-fpm.conf and now it is working fine.

@cytopia
Copy link
Owner

cytopia commented Jan 5, 2023

Let's continue in the aggregated thread here: #946

Repository owner locked and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants