Debug remote console PHP (via SSH)?

Is it possible to debug remote CLI php execution with PhpStorm? With that I mean, run a script I've in my project on a remote server with full setting breakpoints and such?

I've debugging over HTTP(s) working with no problem, but I can't figure if/how it's possible with CLI on a remote server (using vagrant in my case).

xdebug is enabled on the remote server for both apache2 (where it's working) and CLI:

vagrant@dev:~$ php -i|grep 'xdebug.*enabled'
xdebug support => enabled

I was looking at http://www.jetbrains.com/phpstorm/webhelp/run-debug-configuration-php-remote-debug.html but couldn't get anything working and was/still am quite confused about the wordings.

Using PhpStorm 7.1.3
Build #PS-133.982, built on February 25, 2014
JRE : 1.6.0_65-b14-462-11M4609 x86_64
VM: Java HotSpot(TM) 64-Bit Server VM by Apple Inc.

thanks

2 comments
Comment actions Permalink

I switched to EAP and it was easy as pie, thank you very much; *fantastic* feature!     


0

Please sign in to leave a comment.