but after debugging starts (bits per minute or less) the entire debugging session ends or restarts from the first breakpoint
I finally found a solution. My Apache configuration was configured to stop connection downtime after 40 seconds β terminate the debugging session and return a 500 error to the client.
To fix this, open the apache httpd.conf file and find the following setting
LoadModule fcgid_module modules/mod_fcgid.so
If you use this module, set or change the value of the following directive
FcgidIOTimeout 300
This parameter defaults to 40 seconds, if not specified, setting it to 300 will allow up to 5 minutes to connect before apache completes it.
source share