R
R
romaro2021-10-08 14:05:29
Visual Studio Code
romaro, 2021-10-08 14:05:29

How to make LiveServer work in VSCode?

VS Code runs in remote mode (SSH:localhost).

Installed LS remotely:
616024b850963767326993.jpeg
Then I forwarded the ports on the virtual machine, opened port 5500:
616024ffd4222787974149.jpeg

I changed the workspace, the .vscode folder appeared with the contents:

{
    "liveServer.settings.multiRootWorkspaceName": "dship"
}


Next I try to open the html:
6160256242c71546158300.jpeg

No response, no errors.

I try to go to port 5500, it opens with the project:
616025b875da9531033539.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question