I'm having trouble debugging with Sublime Text 2, Vagrant and XDebug. Debugging does not stop at breakpoints
I use this stray box https://github.com/bryannielsen/Laravel4-Vagrant
I read a lot of questions on StackOverflow and no one answered my problems.
Xdebug successfully connects to DBGP clients, but does not stop at breakpoints, talks about not using xdebug as a module, and I use it as an extension. Seems good! Others talk about php.ini configuration, but my log seems good
When running xdebug in a sublimetext (with https://github.com/Kindari/SublimeXdebug ) it launches the web page in order, but sublime displays a message: waiting for execution and not stop at breakpoints, and the web page is fully loaded.
My xdebug log looks ok
Log opened at 2013-09-25 12:01:56
I: Checking remote connect back address.
I: Remote address found, connecting to 10.0.2.2:9001.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/public/index.php" language="PHP" protocol_version="1.0" appid="14735" idekey="sublime.xdebug"><engine version="2.2.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init>
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response>
Log closed at 2013-09-25 12:01:56
Sublime text 2 is listening on port 9001 and this is my php.ini configuration
xdebug.remote_enable=1
xdebug.remote_port=9001
xdebug.remote_autostart=0
xdebug.remote_connect_back=1
xdebug.remote_log=tmp/xdebug.log
Does anyone have experience? Thanks!
source
share