View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002301 | Xdebug | Step Debugging | public | 2024-10-23 15:35 | 2024-11-27 15:40 |
Reporter | sfsccn | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Ubuntu | OS Version | 24.04 |
Product Version | 3.2.0 | ||||
Summary | 0002301: Feature Request: Add Option to Suppress Error "Could not connect to debugging client" | ||||
Description | Hi, I'm using Xdebug for PHP step debugging in VS Code via the extension xdebug.php-debug. My PHP log file is loaded with "Could not connect to debugging client" errors because when I'm not actually running the debugger I get this error on every Apache PHP page load. I could always run the debugger, but it adds a graphical interface to the editor that I'd rather not have there all the time. For now, I've set xdebug.log_level = 0. Please let me know if there's a better way to handle this. Otherwise, I suggest adding an option, maybe xdebug.supress_connection_errors = 0/1, that suppresses these errors. Thanks! | ||||
Steps To Reproduce | Load hello.php containing <?php echo "<h1>Hello!</h1> and find error in PHP log. | ||||
Additional Information | From phpinfo: This program makes use of the Zend Scripting Language Engine: | ||||
Tags | No tags attached. | ||||
Operating System | Ubuntu 24.04 | ||||
PHP Version | 8.3.5-8.3.9 | ||||