Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remote attach: use absolute /bin/sh path on Linux
When using machinectl as a transport to connect the debugger to a nspawn container, we need to pass full paths when running commands, as that's what machinectl expects. Use /bin/sh when running on Linux. This allows connecting VSCode to nspawn containers. https://www.freedesktop.org/software/systemd/man/machinectl.html https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
- Loading branch information