View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002067 | Xdebug | Step Debugging | public | 2022-02-23 16:32 | 2022-02-25 14:52 |
Reporter | makoki | Assigned To | derick | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.1.2 | ||||
Summary | 0002067: xdebug.start_with_request writes a log when there's no client listen to it | ||||
Description | I have setup my xdebug with: xdebug.mode=debug And is working as espected, using visual studio code as my editor. However, I noticed that everytime I do a arequest to my project, when there's no client listen to xdebug, I got this error into my error_log: [Wed Feb 23 17:00:22.132321 2022] [proxy_fcgi:error] [pid 1280:tid 123145462165504] [client 127.0.0.1:53773] AH01071: Got error 'PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9000 (through xdebug.client_host/xdebug.client_port) :-(' I don't think this is an error, the client isn't listening to the Xdebug, because I'm not in debugging phase. I think it could be better that xdebug writes to error_log only when there's a real error. Is there a way to improve this behaviour?... Maybe there's a better settings and / or visual studio code configuration?. Thanks in advice. | ||||
Steps To Reproduce | Set the xdebug configuration as I've told before, and look at your error_log file of your apps. It should appear anytime you make a request. | ||||
Tags | No tags attached. | ||||
Operating System | macOS Catalina (v 10.15.7) | ||||
PHP Version | 7.4.0-7.4.4 | ||||