I cannot make my remote xdebug working.
My php runs on virtual machine 192.168.56.101
And my komodo is on 192.168.1.106
My test.php page, with phpinfo(), shows that xdebug is enabled, with these options :
In my komodo (192.168.1.106), I listen to debugging connections on specific port 9000.
But, going to “test.php?XDEBUG_SESSION_START=1”, on 192.168.1.106, komodo do not stop on the breakpoints.
I do see the lower pane showing up, with the “Debug Output” tab. It just don’t stop on the breakpoints.
What am I missing ?
… oh!! I changed the “initial break behavior” to “break on first executable line”.
Now, it opens the remote file and breaks on the first executable line. I can then add breakpoints in the remote file.
Before it opens the file, I get this : "The URI ‘file://///192.168.1.106/home/vagrant/sites/test/index.php’ could not be opened. You can use a URI mapping to specify an alternative file location. Without a mapping, komodo will display a read-only copy of the file contents. Would you like to setup a mapping now ? "
Why “file:////…” ?
It is synced folders, so is it possible to break on the local copy ? Instead of opening a new copy of the file ?
Remote file is : /home/vagrant/sites/test/index.php
Local file : D:\htdocs\phpacademy\laravelhomestead\sites\test\index.php