vscodium: the inbuilt port forwading not working due to vscodium does not code-tunnel in bin
Describe the bug
when using the ports feature it shows the following error
Unable to forward localhost:5173. spawn /opt/vscodium-bin/bin/code-tunnel ENOENT
I looked into /opt/vscodium-bin/bin but it does not contain code-tunnel
Please confirm that this problem is VSCodium-specific
- This bug doesn’t happen if I use Microsoft’s Visual Studio Code. It only happens in VSCodium.
Please confirm that the issue/resolution isn’t already documented
- I checked the Docs page and the Troubleshooting page and my issue is not mentioned there.
To Reproduce Steps to reproduce the behavior:
- Forward a port
- Enter port number
- get error shown
Expected behavior I expect it to open a link or otherwise show that vscodium does not support port forwading
Desktop (please complete the following information):
- OS: archlinux
- Architecture: x86-64
- Version: 1.85.1
- App Manager: AUR (vscodium-bin)
- Sandboxed: no
Additional context I just am not sure if vscodium supports it a mention in troubleshooting guide would be nice
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 5
- Comments: 16 (6 by maintainers)
This looks like a replacement for vs code’s remote development feature, not port forwarding
Solved this by copying
binfolder fromMicrosoft VS Codeand pasting it.I do this because I can’t find
binfolder on Cursor.edit: You can find it on
cursor\resources\app\bin.I have solved this problem, head to
C:\Users\YourUser\AppData\Local\Programs\VSCodium\bin
there is an executable file named codium-tunnel.exe, rename it to code-tunnel.exe
back to codium…head to port add your port and start your forwarding server and enjoy… cheers
code-tunneluses MS network to discover/tunnel the connexion. We don’t have the structure to do that. But the local port can be forwarded with a tool likengrok. Also, when connected to remote pc with Open Remote - SSH, the ports are successfully forwarded.I also get a similar error
2024-02-01 15:42:47.242 [error] [forwarding] Error: spawn c:\Users\<my username>\scoop\apps\vscodium\1.85.1.23348\bin\code-tunnel.exe ENOENT