A
A
Anton Medvedev2011-03-04 16:20:53
xdebug
Anton Medvedev, 2011-03-04 16:20:53

PhpStorm 2.0 + XDebug

Greetings!

Help setting up PhpStorm 2.0 with XDebug (denwer). And then somehow strangely it works for me, then it debugs, then it doesn’t.

I go to Debug Configuration, add a new PHP WebApplication.
Further Configuration - Server - I add a new one:
Host: localhost
Port: 9000
Debugger: XDebug
Use path mappings: no

I press debug - the site.com/?XDEBUG_SESSION_START=18872 browser opens

PhpStorm only writes Waiting for incoming connection with ide key '18872' and that's all .

php.ini:
[xdebug]
zend_extension=\usr\local\php5\ext\php_xdebug-2.1.0-5.3-vc6.dll
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler="dbg

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yeah, 2011-03-05
@Yeah

You specify localhost as the host in the configuration, and you are trying to debug site.com. That's why it doesn't work.
Here is my configuration:
image
image
image

D
Dmitry404, 2011-03-04
@Dmitry404

Have you tried Zero-configuration debugging? Try it, it's much easier there.
blogs.jetbrains.com/webide/2011/02/zero-configuration-debugging-with-xdebug-and-phpstorm-2-0/

A
Andrew, 2011-03-05
@Morfi

kurapov.name/rus/technology/web/php/xdebug_phpstorm/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question