In Visual Studio Code, open the Command Palette by pressing Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
1.Enter git.
2.Select Git: Clone.
3.Select Desktop and then click Select Repository Location.
1.Click View, and then select Terminal to open a terminal in Visual Studio Code.
2.Update the CLI by running this command in the terminal:
1.Open the Command Palette.
2.Enter sfdx.
3.Select SFDX: Create Project.
4.Select Standard.
5.Enter troubleshoot-lwc as the project name and press Enter.
6.Select Desktop for folder to store the project.
7.Click Create Project.
8.Click Overwrite.
1.Open the Command Palette.
2.Enter sfdx.
3.Select SFDX: Authorize an Org.
4.Press Enter to accept the Project Default login URL option.
5.Press Enter to accept the default alias. Salesforce login opens in a separate browser window.
6.Log in using your Trailhead Playground credentials.
7.If you're prompted to allow access, click Allow.
1.Right-click the default folder under force-app/main.
2.Click SFDX: Deploy Source to Org.
1.Click View, and then select Terminal. A terminal window opens in Visual Studio Code. The terminal defaults to the top-level directory of the project.
2.Assign the Solutions Full Access permission set to the default user by running this command in the terminal:
1.In your Trailhead Playground, in App Launcher, search for sol.
2.Select Solutions.