Closed becassin closed 6 years ago
just reproduced with a clean install of sublime
but /var/log/xdebug/xdebug.log does show stuff now:
Log opened at 2015-05-21 15:45:00
I: Checking remote connect back address.
I: Remote address found, connecting to 127.0.0.1:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///Library/WebServer/Documents/compuccino/dashboard/index.php" language="PHP" protocol_version="1.0" appid="2858"><engine version="2.3.2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2015 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 2015-05-21 15:45:01
Hi,
I have the same messages in Packages/User/Xdebug.log. I'm running Sublime Text 2 on Ubuntu and the breakpoints don't get hit either.
Did you find a solution?
Running Sublime Text 3, I get info notices/errors in my Packages/User/Xdebug.log:
[11/07/2016 10:06:16AM] INFO - ==== Loading 'Xdebug Client.sublime-package' package ==== [11/07/2016 10:06:16AM] INFO - Failed to open /home/user1/.config/sublime-text-3/Packages/User/Xdebug.expressions. [11/07/2016 10:06:16AM] DEBUG - [Errno 2] No such file or directory: '/home/user1/.config/sublime-text-3/Packages/User/Xdebug.expressions' [11/07/2016 10:06:16AM] INFO - Failed to parse /home/user1/.config/sublime-text-3/Packages/User/Xdebug.expressions. [11/07/2016 10:06:16AM] DEBUG - local variable 'data_file' referenced before assignment
It may be the case that it just tries to find a file for Xdebug watch expressions and doesn't find the file because none have ever been defined, or the like, and may not be a breaking error per se. Hard to tell.
Issue: Breakpoints don't get hit. I set breakpoints on my file index.php (which gets called for sure):
Xdebug.log shows:
/var/log/xdebug/xdebug.log remains empty
Anyone met a similar issue?