Answer the question
In order to leave comments, you need to log in
Why installed xDebug doesn't work in PHPStorm?
The problem is that
xDebug is installed, but PHPStorm doesn't want to work with it. Server local Apache/2.4.23 (Unix)
I've been fighting for more than a day, I'm asking for help.
Operating system macOS Sierra 10.12.1
php -v
PHP 5.6.27 (cli) (built: Oct 24 2016 16:08:27)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans
php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/5.6
Loaded Configuration File: /usr/local/etc/php/5.6/php.ini
Scan for additional .ini files in: /usr/local/etc/php/5.6/conf.d
Additional .ini files parsed: /usr/local/etc/php/5.6/conf.d/ext-apcu.ini,
/usr/local/etc/php/5.6/conf.d/ext-opcache.ini,
/usr/local/etc/php/5.6/conf.d/ext-ssh2.ini,
/usr/local/etc/php/5.6/conf.d/ext-xdebug.ini
zend_extension="/usr/local/Cellar/php56-xdebug/2.4.1/xdebug.so"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_handler="dbgp"
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="PHPSTORM"
Answer the question
In order to leave comments, you need to log in
try with xdebug.remote_connect_back=1
or pass ?XDEBUG_SESSION_START=PHPSTORM in the parameters,
he needs to somehow know that you are starting debugging
Try setting PHP -> Debug -> DBGp Proxy Host to 127.0.0.1
Also in PHP -> Debug Debug Port set to 9001 as well as in PHP -> Debug -> DBGp Proxy Port
this is not the first time I see problems in the PhpStorm + xDebug + macOS bundle . I can not help with a solution, because. already tried to no avail =( But you can try to write to that person, mb there will be some clue - How to defeat xdebug?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question