Answer the question
In order to leave comments, you need to log in
How to defeat xdebug?
Hello. Local, found apache, php56 (via brew installed), iMac.
Xdebug doesn't want to work.
php.ini
[xdebug]
zend_extension="/usr/local/Cellar/php56-xdebug/2.4.0/xdebug.so"
xdebug.default_enable = 1
xdebug.remote_autostart = 0
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.remote_mode=req
xdebug.idekey="PHPSTORM"
xdebug.coverage_enable=1
xdebug.profiler_enable=1
xdebug.profiler_output_dir = "/tmp/xdebug/"
<VirtualHost *:80>
DocumentRoot "/Users/greg/Sites"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerName technostar.dev
ServerAlias www.technostar.dev
DocumentRoot "/Users/greg/Sites/technostar/"
ErrorLog "/private/var/log/apache2/technostar.dev-error_log"
CustomLog "/private/var/log/apache2/technostar.dev-access_log" common
<Directory "/Users/greg/Sites/technostar/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
I have not come across this error, but I will try to help.
What if you set xdebug.remote_autostart=1 to autostart debugging when connection listening is enabled?
And just in case, here's how you turn on listening in the picture below, right?
Try unchecking use pathmappings in the last screenshot.
I had such a problem on the open server, but I don’t remember how I overcame it already.
You have disabled autostart, while it is indicated
PhpStorm needs this key for debugging. Read here , pay attention to points 4 , 5 and 6.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question