How to debug with XDebug in PHPStorm 3.0 EAP

In the latests 3.0 EAP (110.44) I have just tried to debug very simple zend framework based website with next xdebug settings:

[xdebug]
zend_extension=x:\usr\local\php5\ext\php_xdebug-2.1.2-5.3-vc6.dll
xdebug.remote_enable=On
xdebug.remote_host=localhost
xdebug.remote_port=9000


I have a lot of problems:
1. Breakpoints aren't hit. Only break at first line works for me.
2. Listen to incoming connections doesn't work.
3. Watches tab is unusable. I see only "Cannot evaluate expression" and "cannot get property" Screenshot:
watches.png

In addition, when I delete any variable from watches - all other expanded variables (arrays/objects) are collapsed.

Please teach how can I make it work.


5 comments
Comment actions Permalink

Hmm, listen to incoming connections works now but script is always broken at first line, both unticked options have no effect:
settings.png


0
Comment actions Permalink

After fixing issue with mapping items #1 and #2 seems like gone for simple zf project. #3 is still present (but it is marked in BTS as fixed in next EAP). I'll try to debug something more complicated and write back.

0
Comment actions Permalink

Hello Dmitriy,

After fixing issue with mapping items #1 and #2 seems like gone for simple zf project.

Correct, you need to set path mapping between actual root and root on virtual disk created by Denver (Another way is to open project directly on virtual disk. In this case no path mappings requires).

After fixing issue with mapping items #1 and #2 seems like gone for simple zf project. #3 is still present (but it is marked in BTS as fixed in next EAP).

Yes, it is fixed.

Thank you for feedback!

0
Comment actions Permalink

Tried debug magento extension - works ok so far. When new EAP build with watches tab fix will be available?

0
Comment actions Permalink

In a day or two. We're busy packaging some new stuff into

0

Please sign in to leave a comment.