I am contently getting this error when I start debugging with xdebug while it doesn't stop in any of my breakpoints it stop in warnings that I did not put breakpoints on and when I click on local variables it start loading and load forever until I have to restart vscode.


Ubuntu linux 18.4
debugging php magento

php -v
PHP 7.0.33-8+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 31 2019 11:34:35) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-8+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.7.1, Copyright (c) 2002-2019, by Derick Rethans

my php.ini


and my xdebug.ini



[21636] Log opened at 2019-06-12 09:39:00
[21636] I: Checking remote connect back address.
[21636] I: Checking header 'HTTP_X_FORWARDED_FOR'.
[21636] I: Checking header 'REMOTE_ADDR'.
[21636] W: Remote address not found, connecting to configured address/port: localhost:9000. :-|
[21636] W: Creating socket for 'localhost:9000', poll success, but error: Operation now in progress (29).
[21636] E: Could not connect to client. :-(
[21636] Log closed at 2019-06-12 09:39:00

and the lunch.json file

    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [

            "type": "chrome",
            "request": "launch",
            "name": "Launch Chrome",
            "webRoot": "${workspaceFolder}\\web"
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000
            "name": "Launch currently open script",
            "type": "php",
            "request": "launch",
            "program": "${file}",
            "cwd": "${fileDirname}",
            "port": 9000
New contributor
Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Maneza F8 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.