I am trying to run Xdebug with Sublime Text 3 on my Mac. Our projects are on remote shares, and I opened the project with Sublime. Sublime is running on my local computer. Port 9000 is being used and is open when the debugger is running. The connection succeeds initially and then fails.
I have tried all of the "fixes" that worked for other people that experienced the error message "Creating socket for '10.10.0.169:9000', poll success, but error: Operation now in progress (29).", but none worked, probably because my environment is different.
I know that Xdebug is working. It works for other users, who use PhpStorm, and it works on the project I'm testing it on. I also have used Xdebug with no issues with PhpStorm. Therefore I think this is a Sublime configuration issue, or possibly a bug.
Environment
Sublime Text
Operating system: macOS Mojave 10.14.5
Installed version/build: Version 3.2.1, Build 3207
Python version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21)
[Clang 6.0 (clang-600.0.57)] Local version
2.7.5 (default, Apr 9 2019, 14:30:50)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Version on server
Server
Operating system: CentOS Linux release 7.6.1810 (Core)
Are you trying to debug the script remotely or locally? Remotely
PHP/Xdebug version:
PHP 7.0.33 (cli) (built: May 28 2019 09:26:45) ( 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, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans
Configuration
php.ini/xdebug.ini
zend_extension=xdebug.so
xdebug.remote_enable = on
xdebug.remote_autostart = off
xdebug.remote_handler = dbgp
xdebug.remote_port = 9000
xdebug.remote_server = localhost
xdebug.remote_mode = req
xdebug.remote_connect_back = 1
;turn off stack traces
xdebug.default_enable = 0
;turn off var_dump override
xdebug.overload_var_dump = 0
xdebug.remote_log=/home/apache/logs/xdebug_log
I am trying to run Xdebug with Sublime Text 3 on my Mac. Our projects are on remote shares, and I opened the project with Sublime. Sublime is running on my local computer. Port 9000 is being used and is open when the debugger is running. The connection succeeds initially and then fails.
I have tried all of the "fixes" that worked for other people that experienced the error message "Creating socket for '10.10.0.169:9000', poll success, but error: Operation now in progress (29).", but none worked, probably because my environment is different.
I know that Xdebug is working. It works for other users, who use PhpStorm, and it works on the project I'm testing it on. I also have used Xdebug with no issues with PhpStorm. Therefore I think this is a Sublime configuration issue, or possibly a bug.
Environment
Sublime Text
Operating system: macOS Mojave 10.14.5 Installed version/build: Version 3.2.1, Build 3207 Python version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21) [Clang 6.0 (clang-600.0.57)] Local version
2.7.5 (default, Apr 9 2019, 14:30:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Version on server
Server
Operating system: CentOS Linux release 7.6.1810 (Core) Are you trying to debug the script remotely or locally? Remotely
PHP/Xdebug version: PHP 7.0.33 (cli) (built: May 28 2019 09:26:45) ( 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, Copyright (c) 1999-2017, by Zend Technologies with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans
Configuration
php.ini/xdebug.ini
Packages/User/Xdebug.sublime-settings
*.sublime-project
Logs
Console output: none
Packages/User/Xdebug.log: