Using Live Server in Visual Studio Code

Leave a comment

In this post, we will look at how to use Live Server to run a page as a web server in Visual Studio Code.

Open VS Code and select Extensions, then search for Live Server. Click Install:

Next, create a new folder, call it anything, e.g. html, and click Add Folder to add it to VS Code:

Add a new file:

Call it test.html:

Add some HTML and save it:

Now, to run this using Live Server, do the following.

Type CTRL-SHIFT-P and search for Live Server: Open with Live Server:

Your web browser will open to the test.html page using live server:



Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube


Leave a Reply

Your email address will not be published. Required fields are marked *