You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying a particularly mind bending xdebug set up with VSCode where I have a server (local network) which runs a set of Docker containers, inside of which PHP and xdebug (with Apache serving) are running. On my laptop I'm viewing the site in my browser and triggering xdebug inside the containers. Also on my laptop I have mounted the server's files through this extension (sshfs).
This is almost working for me but I'm having trouble mapping the file paths. When xdebug triggers on an error I'm seeing file not found messages like this:
Where does this extension mount the workspace on the local machine?
This should be correctly mapping the path within the container (where xdebug is running) to the workspace but isn't working as shown in the screenshot above.
Maybe I need to be more explicit in my path mapping for the local part? Instead of ${workspaceRoot} use the full path to the mount point for example.
The text was updated successfully, but these errors were encountered:
The extension doesn't mound the workspace anywhere on the local machine. All files/directories are saved/read over the SSH connection. VSCode keeps track of which files are open, caching directory entries, ... it only asks the extension to read/write directories/files.
Lots of extensions don't support non-local file systems right now. See #42 for more information.
I'm currently trying a particularly mind bending xdebug set up with VSCode where I have a server (local network) which runs a set of Docker containers, inside of which PHP and xdebug (with Apache serving) are running. On my laptop I'm viewing the site in my browser and triggering xdebug inside the containers. Also on my laptop I have mounted the server's files through this extension (sshfs).
This is almost working for me but I'm having trouble mapping the file paths. When xdebug triggers on an error I'm seeing file not found messages like this:
Where does this extension mount the workspace on the local machine?
Currently my debug config for path mapping is:
This should be correctly mapping the path within the container (where xdebug is running) to the workspace but isn't working as shown in the screenshot above.
Maybe I need to be more explicit in my path mapping for the local part? Instead of
${workspaceRoot}
use the full path to the mount point for example.The text was updated successfully, but these errors were encountered: