View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002267 | Xdebug | Step Debugging | public | 2024-05-17 17:54 | 2024-06-05 10:03 |
Reporter | davesplat | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
Platform | PHP 8.3.6 | OS | Windows Server 2019 | OS Version | 10.0.17763 |
Product Version | 3.3.2 | ||||
Summary | 0002267: Application slow when debugger is not running VS Code | ||||
Description | I just upgraded PHP from 7.4 to 8.3 and applications are running so much slower. My problem seems nearly identical to the previous defect https://bugs.xdebug.org/view.php?id=2076. I also get many (>20) repeated messages in the xdebug log of the form: In my case, I'm making the request to PHP from my regression tests. I know each of the requests made to PHP, there are only two: [17/May/2024:17:50:27 +0000] 10.0.3.186 - "POST /api/authenticatev3 HTTP/1.1" 200 123 "-" Any advice would be appreciated! php.ini: zend_extension = "C:\www\php8\ext\php_xdebug-3.3.2-8.3-vs16-x86_64.dll" xdebug.remote_handler=dbgp xdebug.output_dir="c:\www\webroot\tmp" | ||||
Tags | No tags attached. | ||||
Operating System | Windows Server 2019 | ||||
PHP Version | 8.2.0-8.2.9 | ||||
|
My PHP code initializes the AWS DynamoDB API to manage session information. If I disable the call to DynamoDB, the multiple timeouts go away. This is a regression from my PHP 7 setup. Any suggestions on how to improve performance? |
|
The error message "ERR: Time-out connecting to debugging client, waited: 200 ms. " indicates that your network stack doesn't immediately reject the connection if it can't be made. That's usually due to a (misconfigured) firewall. Can you check that? Unlike in 0002076, I can't ask you to strace, as Windows doesn't support that. |