<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">Today I spent some time figuring out why debugging a PHP website did not worked as expected: when starting a debugging session on KDevelop 5.3.0 and 5.3.40, only the first HTTP call can be used for debugging. After the PHP script is finished, the debugger stops. This is not quite workable for debugging a web site.</div><div class="">When I looked into the commits to the kdev-xdebug on Github, I noticed the commit linked to this review: <a href="https://phabricator.kde.org/D9034" class="">https://phabricator.kde.org/D9034</a></div><div class=""><br class=""></div><div class="">If I reverse this commit by commenting out the added line 126 containing "&& m_server->hasPendingConnections()", the web site debugging works again as expected. The debugger keeps listening on port 9000 and following requests can also be debugged.</div><div class=""><br class=""></div><div class="">I am not saying the commit discussed here is wrong, because I still get a QAbstractSocket::RemoteHostClosedError after each HTTP request to the PHP in my terminal. I still think though this change needs to be reviewed again since it breaks the debugging for multiple HTTP requests.</div><div class=""><br class=""></div><div class="">I hope someone can look into this, I needed I am happy to provide further details.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Arjan van der Veen</div></body></html>