For some years, I was subscribed to The Hindu and Economic Times alone; but when the sales person of Times of India forced me to subscribe with offers, I was kinda reluctant and finally subscribed just for the offer. I didn't like the Arnab Goswami of Times Now and still don't like him. Now, it looks like Times of India is leading in terms of journalism, though I don't like how it's pushing AIADMK. At this moment, Times of India is a clear winner though The Hindu is trying with Wikileaks articles.
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