Not going to tell you story, Just go to the setting then click on show settings.json
now copy and paste this :
{
"terminal.profiles": [
{
"program": "C:\\Windows\\System32\\wsl.exe",
}
],
}
if it's not working for you, probably path to wsl.exe is different for you, just change it and all good.
if you like this tutorial, don't forget to like or upvote or whatever this site has.
Top comments (0)