Here's to the crazy ones.Kids of Mac toys often attribute everything to Steve Jobs. But, I recently happened to read the people and story behind the inspiring "Think Different" ad. I think, everyone must read it--to be inspired.
The misfits. The rebels. The troublemakers.
The round pegs in the square holes.
The ones who see things differently.
They're not fond of rules, and they have no respect for the status quo.
You can quote them, disagree with them, glorify and vilify them.
About the only thing you can't do is ignore them because they change things.
They push the human race forward. And while some may see them as crazy, we see genius.
Because the people who are crazy enough to think they can change the world, are the ones who do.
-- Think different, Apple's TV commercial
None of the solutions I found on Reddit or GitHub worked, and most of the related GitHub issues were locked. So I'm documenting this here for future reference. Problem When using WSL2 in Visual Studio Code, the Ports tab—needed to access your application in Windows browsers like Chrome or Edge—doesn't appear. Even the Ports-related options are missing from the Command Palette. Solution After a lot of trial and error, here's what worked: Run npx serve in the VS Code terminal. It will output a URL such as http://localhost:3000/ . Click the link (or use the Follow Link option). This will open the app in your default browser. You may notice that it opens on a different port (for example, http://localhost:64198 ). At this point, the Ports tab becomes available in VS Code. After this initial trigger, the Ports tab seems to remain available in future VS Code...
Comments