The problem is that when running VS code
for wsl2, the following error occurs
Segmentation fault
$ code .
Segmentation fault
rm -rf ~/.vscode-server
code .
sudo apt-get remove code
rm -rf ~/.vscode-server
code .
After completing these steps, you should have vs code running without any problems. If you consider it necessary to skip the steps with restarting the PC, this is your right. I just wrote a sequence of actions that helped me solve the problem
Thanks for the decision to this guy: Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With