flow-debugproxy
flow-debugproxy copied to clipboard
Filtering Variables in PhpStorm crashes the debugging session
Foreword: I am debugging flow:core:compile directly in a docker-compose setup via
docker exec -e PHP_IDE_CONFIG='serverName=app' -u application -ti $(docker-compose ps -q app) php -dxdebug.remote_autostart=On ./flow flow:core:compile
When debugging in PhpStorm i can filter values and variables by simply typing in the Variables view of the Debug tab in PhpStorm. In case a value does not exist the "Search for: xxx" text turns red. Normally nothing else would happen but when using the debug proxy (via the offiical image) the xdebug session will break and the console will print There was a problem sending 25250 bytes on socket 4: Connection reset by peer foloowed by a lot of There was a problem sending 519 bytes on socket 4: Broken pipe messages with different byte sizes each.
Full output when typing "a" follow by "a" (formatted with line breaks for better readability):
There was a problem sending 25250 bytes on socket 4: Connection reset by peer
There was a problem sending 519 bytes on socket 4: Broken pipe
There was a problem sending 2902 bytes on socket 4: Broken pipe
There was a problem sending 5094 bytes on socket 4: Broken pipe
There was a problem sending 4021 bytes on socket 4: Broken pipe
There was a problem sending 2594 bytes on socket 4: Broken pipe
There was a problem sending 1035 bytes on socket 4: Broken pipe
There was a problem sending 4841 bytes on socket 4: Broken pipe
There was a problem sending 2470 bytes on socket 4: Broken pipe
There was a problem sending 560 bytes on socket 4: Broken pipe
There was a problem sending 31361 bytes on socket 4: Broken pipe
There was a problem sending 8893 bytes on socket 4: Broken pipe
There was a problem sending 950 bytes on socket 4: Broken pipe
There was a problem sending 1748 bytes on socket 4: Broken pipe
There was a problem sending 23135 bytes on socket 4: Broken pipe
There was a problem sending 575 bytes on socket 4: Broken pipe
There was a problem sending 599 bytes on socket 4: Broken pipe
There was a problem sending 1009 bytes on socket 4: Broken pipe
There was a problem sending 983 bytes on socket 4: Broken pipe
There was a problem sending 631 bytes on socket 4: Broken pipe
There was a problem sending 631 bytes on socket 4: Broken pipe
There was a problem sending 11565 bytes on socket 4: Broken pipe
There was a problem sending 1748 bytes on socket 4: Broken pipe
There was a problem sending 4023 bytes on socket 4: Broken pipe
There was a problem sending 362 bytes on socket 4: Broken pipe