View Issue Details

IDProjectCategoryView StatusLast Update
0002140XdebugStep Debuggingpublic2023-08-01 09:46
Reporternobukhov Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
PlatformLinuxOSUbuntuOS Version20.04
Product Version3.1.5 
Summary0002140: Step debugging extremely slow (There was a problem sending N bytes on socket 8: Broken pipe)
Description

Hello,

My environment is Ubuntu 20.04, Docker 19.03.12, xdebug 3.1.5, php 8.1.12 (php:8.1-fpm-buster) inside a docker
I started a new project with PHP 8 and find it impossible to work with: step debugging takes 0000002:0000001 minute for each step. In the logs there are plenty of errors There was a problem sending N bytes on socket 8: Broken pipe

One step may take several minutes. I have another project on PHP 7 and everything works fine. It was a huge mistake to use php8 could you please help what can be the issue? It is impossible to work with...

Steps To Reproduce
  1. Run a php container: php:8.1-fpm-buster and any webserver to connect fpm
  2. pecl install xdebug
  3. Paste configs:
    xdebug.start_with_request = 1
    xdebug.mode = debug
    xdebug.client_host = 192.168.140.1
    xdebug.client_port = 9074
    xdebug.discover_client_host=1
    #xdebug.remote_log = /var/log/xdebug.log
    xdebug.remote_autostart=1
    xdebug.remote_enable=1
  4. Create sample php script and open with IDE (I use PHPStorm 2022.2.3)
  5. Put some breakpoints and click "Start listening for PHP Debug connections"
  6. tail -f /var/log/xdebug.log inside a container
  7. Send HTTP request for the script to run.
    Each step takes around a minute. Logs are full of errors
TagsNo tags attached.
Operating System
PHP Version8.1.10-8.1.19

Activities

nobukhov

2022-11-24 11:19

reporter   ~0006454

Sometimes there are no errors but still it takes one line of code to execute for a minute. I have no idea how to use this programming language nowadays.

derick

2022-12-12 09:43

administrator   ~0006476

Could you try with Xdebug 3.2.0 please? I did some work on detecting broken pipes.

derick

2023-08-01 09:46

administrator   ~0006620

I can't reproduce this, and there hasn't been any new information for a while, so I am closing this.

Issue History

Date Modified Username Field Change
2022-11-24 11:14 nobukhov New Issue
2022-11-24 11:19 nobukhov Note Added: 0006454
2022-11-24 11:19 nobukhov File Added: Screenshot from 2022-11-24 18-17-10.png
2022-12-12 09:43 derick Assigned To => derick
2022-12-12 09:43 derick Status new => feedback
2022-12-12 09:43 derick Note Added: 0006476
2023-08-01 09:46 derick Status feedback => resolved
2023-08-01 09:46 derick Resolution open => unable to reproduce
2023-08-01 09:46 derick Note Added: 0006620