Closed mbrodala closed 9 years ago
I gave it another try today and it's still the same. Debugging does not work.
I finally got it working and as it seems the issue boils down to the path_mapping
option. This is how it should look like:
{
"path_mapping": {
"/var/www": "Z:"
},
}
Notice that there is no trailing slash anymore on the local drive letter. It also works if both sides end with a slash. Previously a path like file:///var/wwwpath/to/file.php
was used if a breakpoint is added to Z:\path\to\file.php
which is bound to fail.
My xdebug configuration is now reduced to this thanks to default values:
[xdebug]
xdebug.remote_host = "10.0.2.2"
xdebug.remote_enable = 1
I have the following setup:
/var/www
/var/www
mounted via Samba as driveZ:\
User settings (same for all VMs):
Xdebug configuration:
If I set a breakpoint the status line says:
There is also a
Xdebug.breakpoints
file properly created in Sublime'sUser
package with this content:The
Xdebug.log
says this:At no time is anything written to
/var/log/xdebug.log
within the VM.The debugging connection basically works since the
break_on_start
setting properly halts exection and the status line says this upon reloading the page:Am I doing something wrong?