devilbox
devilbox copied to clipboard
Why does xdebug fall off? How to fix?
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?
You can take this value to increase the time request_terminate_timeout = 600s
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.
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.
Let's continue in the aggregated thread here: #946