E
E
Evgeny Ilin2012-09-10 21:32:56
linux
Evgeny Ilin, 2012-09-10 21:32:56

How to set up xdebug for PhpStorm correctly?

Based on today's article, I decided to test the mentioned IDE more tightly. Need debug, where without it. The trouble is that it does not want to start when debugging php scripts. Or I don't know how to cook it.
1. xdebug settings

zend_extension=/usr/lib/php5/20060613/xdebug.so
xdebug.remote_enable=true
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9102
xdebug.remote_host=192.168.56.1
xdebug.idekey=netbeans-xdebug
xdebug. remote_autostart=1
xdebug.remote_log=/var/log/apache2/xdebug_remote.log

settings are working, because Eclipse and Netbeans work quite well (the second one has not been tested for a long time, but you can see by the key that it worked).
2. PHPStorm settings
In Eclipse, the debugger starts when the page (script) is loaded, stops either on the first line or on a break.
While I google, but, in fact, there are no errors, it is not clear what to do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2012-09-10
@geirby

blog.jetbrains.com/webide/2011/02/zero-configuration-debugging-with-xdebug-and-phpstorm-2-0/
blog.jetbrains.com/webide/2011/03/configure-php-debugging-in- phpstorm-2-0/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question