https://www.jetbrains.com/help/clion/how-to-use-wsl-development-environment-in-clion.html
在windows下载好ubuntu之后最好先更新到新版:
sudo apt update sudo apt upgrade
CLion在WSL上远程调试代码设置
原文:https://www.cnblogs.com/AKUN-FYK/p/11884820.html