When I was in a bootcamp, our instructor accessed localhost inside VSCode, I just forgot how to do that, does anybody know how to do this?
Asked
Active
Viewed 1.2k times
4
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Mar 02 '22 at 05:40
2 Answers
14
Like this, no one helped figure this out.
The way to do this, is using VS Code's simple browser. CRTL+SHIFT P, type simple browser, and it will open a window, add your localhost info and Bam! Simple Browser INSIDE your Visual Studio Code..
This is really beneficial for people that have laptops! If you only have 1 screen to work with, and dont want to SHIFT-TAB or split Screens because you need to view your work.

Jason Cruz
- 311
- 1
- 2
- 9
-1
or either you can simply install a vs code extension "Live server" used by millions to view rendered pages live side by side alongwith your code.

Danish Ali
- 1
- 1