Xdebug + VSCode addon install fails on linux

What issue or error are you experiencing?

I am using local on KUnbuntu 24.04 and trying to install the XDebug + VSCode addin.
The addin fails to install from local with the following error.

EXDEV: cross-device link not permitted, rename ‘/tmp/local/…’ → ‘/home/jlbo/.config/Local/addons/…’


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Click on install add on on XDebug + VSCode


System Details

  • Local Version:

Version 9.2.4+6788

  • Operating System (OS) and OS version:

Kubuntu 24.04


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @jlbo93!

Are you able to rename the pathing as the messaging states to see if that resolves the issue?

Hello, I don’t think this would work.
My opinion is that the installer is doing a fs.rename operation which is attempting to move a file or directory across different devices, which is not permitted.

The code may need to be changed to use fs.copyFile and then fs.unlink to effectively move the files by copying them to the new location and then deleting the originals.

Thanks,

Sorry I don’t have an Ubuntu device to test with @jlbo93 but I found some other steps here that might be helpful from another user: