PhpStorm 8 EAP: Remote CLI debugging gives no feedback
Hi,
My setup:
The server is a VM connected via host-only network, running debian and php 5.6 with xdebug.
The client is running MacOS Mavericks with PhpStorm 8 EAP.
Debugging is run via remote ssh connection.
CLI Debugging itself seems to work, it stops at breakpoints and when I press F8, it steps forward and eventually finishes the script (I see the shell output within PhpStorm).
The only problem is: I don't see where it stops, I don't see information about variables etc. Apart from the shell output, the connection seems to be only one-way from the IDE to the server, but no information comes back.
Does anyone have a suggestion what could have gone wrong and what I could check?
xdebug stuff in php -i:
php -i | grep xdebug
/etc/php5/cli/conf.d/20-xdebug.ini,
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.coverage_enable => On => On
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.idekey => PHPSTORM => PHPSTORM
xdebug.max_nesting_level => 200 => 200
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => On => On
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp/ => /tmp/
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => On => On
xdebug.remote_connect_back => On => On
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => On => On
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => /tmp/xdebug.log => /tmp/xdebug.log
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.scream => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_enable_trigger => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3
Please sign in to leave a comment.
example:
I created a quick test script test.cli.php:
both lines were marked as breakpoints and I started the debug process.
I pressed f8 twice and the script finished.
xdebug log output:
Log opened at 2014-09-09 08:50:38
I: Checking remote connect back address.
W: Remote address not found, connecting to configured address/port: 10.100.10.1:9000. :-|
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/plenty/py/test.cli.php" language="PHP" protocol_version="1.0" appid="4732" idekey="11668"><engine version="2.2.4"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]></copyright></init>
<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>
<- feature_set -i 2 -n max_depth -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>
<- feature_set -i 3 -n max_children -v 100
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>
<- status -i 4
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="status" transaction_id="4" status="starting" reason="ok"></response>
<- step_into -i 5
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="5" status="break" reason="ok"><xdebug:message filename="file:///var/www/plenty/py/test.cli.php" lineno="2"></xdebug:message></response>
<- stack_get -i 6
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="6"><stack where="{main}" level="0" type="file" filename="file:///var/www/plenty/py/test.cli.php" lineno="2"></stack></response>
<- stack_get -i 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="7"><stack where="{main}" level="0" type="file" filename="file:///var/www/plenty/py/test.cli.php" lineno="2"></stack></response>
<- context_names -i 8 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="8"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>
<- context_get -i 9 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="9" context="0"><property name="$hello" fullname="$hello" type="uninitialized"></property></response>
<- context_names -i 10 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="10"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>
<- context_get -i 11 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="11" context="1"><property name="$_COOKIE" fullname="$_COOKIE" address="139642767709168" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_ENV" fullname="$_ENV" address="139642767710296" type="array" children="1" numchildren="15" page="0" pagesize="100"><property name="SHELL" fullname="$_ENV['SHELL']" address="139642767710464" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_ENV['SSH_CLIENT']" address="139642767710728" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_ENV['USER']" address="139642767710912" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_ENV['MAIL']" address="139642767711088" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_ENV['PATH']" address="139642767711328" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_ENV['PWD']" address="139642767711512" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_ENV['LANG']" address="139642767711688" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_ENV['SHLVL']" address="139642767711864" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_ENV['HOME']" address="139642767712040" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_ENV['LOGNAME']" address="139642767712360" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_ENV['SSH_CONNECTION']" address="139642767712560" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_ENV['OLDPWD']" address="139642767712744" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_ENV['_']" address="139642767712920" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_ENV['JETBRAINS_REMOTE_RUN']" address="139642767713096" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_ENV['XDEBUG_CONFIG']" address="139642767713288" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property></property><property name="$_FILES" fullname="$_FILES" address="139642767709392" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" address="139642767511656" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" address="139642767708944" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" address="139642767713528" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" address="139642767713752" type="array" children="1" numchildren="24" page="0" pagesize="100"><property name="SHELL" fullname="$_SERVER['SHELL']" address="139642767713920" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_SERVER['SSH_CLIENT']" address="139642767714104" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_SERVER['USER']" address="139642767714288" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_SERVER['MAIL']" address="139642767714464" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_SERVER['PATH']" address="139642767714704" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_SERVER['PWD']" address="139642767714888" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_SERVER['LANG']" address="139642767715064" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_SERVER['SHLVL']" address="139642767715240" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_SERVER['HOME']" address="139642767715416" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_SERVER['LOGNAME']" address="139642767715736" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_SERVER['SSH_CONNECTION']" address="139642767715936" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_SERVER['OLDPWD']" address="139642767716120" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_SERVER['_']" address="139642767716296" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_SERVER['JETBRAINS_REMOTE_RUN']" address="139642767716472" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_SERVER['XDEBUG_CONFIG']" address="139642767716664" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property><property name="PHP_SELF" fullname="$_SERVER['PHP_SELF']" address="139642767717216" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_NAME" fullname="$_SERVER['SCRIPT_NAME']" address="139642767717632" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER['SCRIPT_FILENAME']" address="139642767718320" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="PATH_TRANSLATED" fullname="$_SERVER['PATH_TRANSLATED']" address="139642767718736" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER['DOCUMENT_ROOT']" address="139642767719072" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER['REQUEST_TIME_FLOAT']" address="139642767719224" type="float"><![CDATA[1410252638.41]]></property><property name="REQUEST_TIME" fullname="$_SERVER['REQUEST_TIME']" address="139642767719384" type="int"><![CDATA[1410252638]]></property><property name="argv" fullname="$_SERVER['argv']" address="139642767709616" type="array" children="1" numchildren="1"></property><property name="argc" fullname="$_SERVER['argc']" address="139642767710024" type="int"><![CDATA[1]]></property></property></response>
<- context_get -i 12 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="12" context="0"><property name="$hello" fullname="$hello" type="uninitialized"></property></response>
<- context_get -i 13 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="13" context="1"><property name="$_COOKIE" fullname="$_COOKIE" address="139642767709168" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_ENV" fullname="$_ENV" address="139642767710296" type="array" children="1" numchildren="15" page="0" pagesize="100"><property name="SHELL" fullname="$_ENV['SHELL']" address="139642767710464" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_ENV['SSH_CLIENT']" address="139642767710728" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_ENV['USER']" address="139642767710912" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_ENV['MAIL']" address="139642767711088" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_ENV['PATH']" address="139642767711328" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_ENV['PWD']" address="139642767711512" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_ENV['LANG']" address="139642767711688" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_ENV['SHLVL']" address="139642767711864" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_ENV['HOME']" address="139642767712040" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_ENV['LOGNAME']" address="139642767712360" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_ENV['SSH_CONNECTION']" address="139642767712560" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_ENV['OLDPWD']" address="139642767712744" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_ENV['_']" address="139642767712920" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_ENV['JETBRAINS_REMOTE_RUN']" address="139642767713096" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_ENV['XDEBUG_CONFIG']" address="139642767713288" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property></property><property name="$_FILES" fullname="$_FILES" address="139642767709392" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" address="139642767511656" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" address="139642767708944" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" address="139642767713528" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" address="139642767713752" type="array" children="1" numchildren="24" page="0" pagesize="100"><property name="SHELL" fullname="$_SERVER['SHELL']" address="139642767713920" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_SERVER['SSH_CLIENT']" address="139642767714104" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_SERVER['USER']" address="139642767714288" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_SERVER['MAIL']" address="139642767714464" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_SERVER['PATH']" address="139642767714704" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_SERVER['PWD']" address="139642767714888" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_SERVER['LANG']" address="139642767715064" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_SERVER['SHLVL']" address="139642767715240" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_SERVER['HOME']" address="139642767715416" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_SERVER['LOGNAME']" address="139642767715736" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_SERVER['SSH_CONNECTION']" address="139642767715936" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_SERVER['OLDPWD']" address="139642767716120" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_SERVER['_']" address="139642767716296" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_SERVER['JETBRAINS_REMOTE_RUN']" address="139642767716472" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_SERVER['XDEBUG_CONFIG']" address="139642767716664" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property><property name="PHP_SELF" fullname="$_SERVER['PHP_SELF']" address="139642767717216" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_NAME" fullname="$_SERVER['SCRIPT_NAME']" address="139642767717632" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER['SCRIPT_FILENAME']" address="139642767718320" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="PATH_TRANSLATED" fullname="$_SERVER['PATH_TRANSLATED']" address="139642767718736" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER['DOCUMENT_ROOT']" address="139642767719072" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER['REQUEST_TIME_FLOAT']" address="139642767719224" type="float"><![CDATA[1410252638.41]]></property><property name="REQUEST_TIME" fullname="$_SERVER['REQUEST_TIME']" address="139642767719384" type="int"><![CDATA[1410252638]]></property><property name="argv" fullname="$_SERVER['argv']" address="139642767709616" type="array" children="1" numchildren="1"></property><property name="argc" fullname="$_SERVER['argc']" address="139642767710024" type="int"><![CDATA[1]]></property></property></response>
<- step_over -i 14
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="14" status="break" reason="ok"><xdebug:message filename="file:///var/www/plenty/py/test.cli.php" lineno="3"></xdebug:message></response>
<- stack_get -i 15
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="15"><stack where="{main}" level="0" type="file" filename="file:///var/www/plenty/py/test.cli.php" lineno="3"></stack></response>
<- context_names -i 16 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="16"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>
<- context_get -i 17 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="17" context="0"><property name="$hello" fullname="$hello" address="139642767719912" type="string" size="5" encoding="base64"><![CDATA[aGVsbG8=]]></property></response>
<- context_get -i 18 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="18" context="1"><property name="$_COOKIE" fullname="$_COOKIE" address="139642767709168" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_ENV" fullname="$_ENV" address="139642767710296" type="array" children="1" numchildren="15" page="0" pagesize="100"><property name="SHELL" fullname="$_ENV['SHELL']" address="139642767710464" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_ENV['SSH_CLIENT']" address="139642767710728" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_ENV['USER']" address="139642767710912" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_ENV['MAIL']" address="139642767711088" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_ENV['PATH']" address="139642767711328" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_ENV['PWD']" address="139642767711512" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_ENV['LANG']" address="139642767711688" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_ENV['SHLVL']" address="139642767711864" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_ENV['HOME']" address="139642767712040" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_ENV['LOGNAME']" address="139642767712360" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_ENV['SSH_CONNECTION']" address="139642767712560" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_ENV['OLDPWD']" address="139642767712744" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_ENV['_']" address="139642767712920" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_ENV['JETBRAINS_REMOTE_RUN']" address="139642767713096" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_ENV['XDEBUG_CONFIG']" address="139642767713288" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property></property><property name="$_FILES" fullname="$_FILES" address="139642767709392" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" address="139642767511656" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" address="139642767708944" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" address="139642767713528" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" address="139642767713752" type="array" children="1" numchildren="24" page="0" pagesize="100"><property name="SHELL" fullname="$_SERVER['SHELL']" address="139642767713920" type="string" size="9" encoding="base64"><![CDATA[L2Jpbi9iYXNo]]></property><property name="SSH_CLIENT" fullname="$_SERVER['SSH_CLIENT']" address="139642767714104" type="string" size="20" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMjI=]]></property><property name="USER" fullname="$_SERVER['USER']" address="139642767714288" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="MAIL" fullname="$_SERVER['MAIL']" address="139642767714464" type="string" size="14" encoding="base64"><![CDATA[L3Zhci9tYWlsL3Jvb3Q=]]></property><property name="PATH" fullname="$_SERVER['PATH']" address="139642767714704" type="string" size="73" encoding="base64"><![CDATA[L3Vzci9sb2NhbC9zYmluOi91c3IvbG9jYWwvYmluOi91c3Ivc2JpbjovdXNyL2Jpbjovc2JpbjovYmluOi91c3IvYmluL1gxMQ==]]></property><property name="PWD" fullname="$_SERVER['PWD']" address="139642767714888" type="string" size="19" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weQ==]]></property><property name="LANG" fullname="$_SERVER['LANG']" address="139642767715064" type="string" size="11" encoding="base64"><![CDATA[ZGVfREUuVVRGLTg=]]></property><property name="SHLVL" fullname="$_SERVER['SHLVL']" address="139642767715240" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HOME" fullname="$_SERVER['HOME']" address="139642767715416" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="LOGNAME" fullname="$_SERVER['LOGNAME']" address="139642767715736" type="string" size="4" encoding="base64"><![CDATA[cm9vdA==]]></property><property name="SSH_CONNECTION" fullname="$_SERVER['SSH_CONNECTION']" address="139642767715936" type="string" size="32" encoding="base64"><![CDATA[MTAuMTAwLjEwLjEgNTQ2MTQgMTAuMTAwLjEwLjIgMjI=]]></property><property name="OLDPWD" fullname="$_SERVER['OLDPWD']" address="139642767716120" type="string" size="5" encoding="base64"><![CDATA[L3Jvb3Q=]]></property><property name="_" fullname="$_SERVER['_']" address="139642767716296" type="string" size="12" encoding="base64"><![CDATA[L3Vzci9iaW4vZW52]]></property><property name="JETBRAINS_REMOTE_RUN" fullname="$_SERVER['JETBRAINS_REMOTE_RUN']" address="139642767716472" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="XDEBUG_CONFIG" fullname="$_SERVER['XDEBUG_CONFIG']" address="139642767716664" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTExNjY4]]></property><property name="PHP_SELF" fullname="$_SERVER['PHP_SELF']" address="139642767717216" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_NAME" fullname="$_SERVER['SCRIPT_NAME']" address="139642767717632" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER['SCRIPT_FILENAME']" address="139642767718320" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="PATH_TRANSLATED" fullname="$_SERVER['PATH_TRANSLATED']" address="139642767718736" type="string" size="32" encoding="base64"><![CDATA[L3ZhcjIvd3d3L3BsZW50eS9weS90ZXN0LmNsaS5waHA=]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER['DOCUMENT_ROOT']" address="139642767719072" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER['REQUEST_TIME_FLOAT']" address="139642767719224" type="float"><![CDATA[1410252638.41]]></property><property name="REQUEST_TIME" fullname="$_SERVER['REQUEST_TIME']" address="139642767719384" type="int"><![CDATA[1410252638]]></property><property name="argv" fullname="$_SERVER['argv']" address="139642767709616" type="array" children="1" numchildren="1"></property><property name="argc" fullname="$_SERVER['argc']" address="139642767710024" type="int"><![CDATA[1]]></property></property></response>
<- step_over -i 19
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="19" status="stopping" reason="ok"></response>
<- run -i 20
Log closed at 2014-09-09 08:50:44
It seems like the path can't be mapped, even though it's obviously set...

edit: Bug report opened
Hi there,
How do you initiate debug session? From PhpStorm (using Debug button) or zero-config approach (that green phone-handle icon -- "listen for debug connections...") ?
If 2nd:
I initiate the debug session from phpstorm, using the debug button. The only interpreter I have set up is a remote interpreter, so yes, I have tried it.
The hostname in that screenshot is master.plentymarkets.com, but in cli, there is no $_SERVER['SERVER_NAME'], since there is no webserver. It's not running on apache, it's a cli script.
There should be some kind of matching, but there doesn't seem to be any. I can't tell the server entry that it belongs to the remote interpreter and vice versa.
edit: I set the hostname of the vm to master.plentymarkets.com (with: hostname master.plentymarkets.com), and it didn't have any effect.
OK ... so this is a remote CLI initiated from IDE.
"Settings | PHP | Servers" is not used for CLI debugging (since it has no host names) -- all parameters necessary are passed as part of command line itself. The "Settings | PHP | Servers" can only be used if zero-config approach is used for remote debugging -- you can export server name there -- http://youtrack.jetbrains.com/issue/WI-7906
In your case .. the only other possible thing that I can think of right now is SFTP deployment settings (check some comments here: http://youtrack.jetbrains.com/issue/WI-23802)
P.S.
Please enable extra logging on PhpStorm side ( http://devnet.jetbrains.com/docs/DOC-1202 ) and try to debug -- what does idea.log says about paths (mappings local <--> remote) -- are they correct?
Adding an sftp server with its own matching did the trick, thank you.