devilbox icon indicating copy to clipboard operation
devilbox copied to clipboard

Why does xdebug fall off? How to fix?

Open evgeny-2019 opened this issue 3 years ago • 4 comments

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?

evgeny-2019 avatar Oct 09 '21 20:10 evgeny-2019

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

jonatanaxe avatar Dec 15 '21 14:12 jonatanaxe

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[bot] avatar Apr 16 '22 13:04 stale[bot]

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.

nickchomey avatar Dec 28 '22 00:12 nickchomey

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

cytopia avatar Jan 05 '23 10:01 cytopia