[ https://issues.apache.org/jira/browse/NETBEANS-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junichi Yamamoto reassigned NETBEANS-5905: ------------------------------------------ Assignee: Junichi Yamamoto > step debug from commandline > --------------------------- > > Key: NETBEANS-5905 > URL: https://issues.apache.org/jira/browse/NETBEANS-5905 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger > Affects Versions: 12.3 > Reporter: Heinz Schweitzer > Assignee: Junichi Yamamoto > Priority: Minor > > This is not an Xdebug issue. Netbeans should not care about what the idekey > is, > in order to decide whether to do anything with an incoming debugging session. > Please file an issue with Netbeans: > Filed a defect against Xdebug, [https://bugs.xdebug.org/view.php?id=2005] > but the above was the responds from there. Below you will find my input. > I am using step debugging via Netbeans with no problems at all , but following > the documentation for doing so on the command line I found out that the > recommended setting for > set XDEBUG_SESSION=1 > will not work. Doing so, the log file for Xdebug shows me this line : > [276] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" > xmlns:xdebug= > ["https://xdebug.org/dbgp/xdebug"|https://xdebug.org/dbgp/xdebug] > fileuri= > ["file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php"|file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php] > language="PHP" xdebug:language_version="8.0.4RC1" protocol_version="1.0" > appid="276" idekey="1"><engine > version="3.0.4"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick > Rethans]]></author><url><![CDATA[ > [https://xdebug.org|https://xdebug.org/] > ]]></url><copyright><![CDATA[Copyright > (c) 2002-2021 by Derick Rethans]]></copyright></init> > Here the idekey equals the value of XDEBUG_SESSION, therefore there is no > reaction in Netbeans where I set my breakpoints. The PHP script just hangs. > Setting XDEBUG_SESSION=netbeans-xdebug will make things work, when Xdebug is > already started via Netbeans. I could not manage to get Xdebug started from > the command line. The record from the log file looks now like: > [11056] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" > xmlns:xdebug= > ["https://xdebug.org/dbgp/xdebug"|https://xdebug.org/dbgp/xdebug] > fileuri= > ["file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php"|file:///F:/xampp-htdocs/phpWebSocketServer/ignore/getOptions.php] > language="PHP" xdebug:language_version="8.0.4RC1" protocol_version="1.0" > appid="11056" idekey="netbeans-xdebug"><engine > version="3.0.4"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick > Rethans]]></author><url><![CDATA[ > [https://xdebug.org|https://xdebug.org/] > ]]></url><copyright><![CDATA[Copyright > (c) 2002-2021 by Derick Rethans]]></copyright></init> > Am I missing something ? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists