4 ms·
Yes to both questions. This is essentially how Codespaces works too, fwiw.
by markphip 3y ago
Yes to both questions.
This is essentially how Codespaces works too, fwiw.
- johnchristopher 3y agoI usually put my code into a volume and use bindfs to read/write that volume from the host as a regular user (with vscode, vim, whatever). It prevents ownership conflicts since files in the volumes are owned by root/www-data/whoever. VScode can be configured with a mapping between running code in the container and accessible code in the host so xdebug breakpoints are set on the host in vscode and when xdebug calls back vscode it gets xdebug data and displays it on the host. Would codespace solve that more elegantly ?