https://code.visualstudio.com/docs/cpp/config-wsl
Above Microsoft's official website, set up a number of specific questions about wsl installation and linux.
Here are some of the individuals encountered a small problem
First need to download and install, agreed in the Windows , windows terminal
After the above things ensure that the installation is complete, to install the plug VScode , it has prompted this site.
I made an error when using the C language debugging, suggesting that some of the library file is not found, the solution is as follows.