V
V
Vadim Sysoev2017-07-09 18:11:00
Visual Studio Code
Vadim Sysoev, 2017-07-09 18:11:00

LiveReload in Visual Studio Code (VSCode)?

In VS Code, I can’t configure Debugger for Chrome (extension), I installed it, I press F5 opens localhost: 8080 (I can’t access the site), I tried to open it on port 9222, it didn’t work either, it says that VSCode will configure itself, configured in the following way:

{
      "type": "chrome",
      "request": "launch",
      "name": "Launch Chrome against localhost",
      "url": "http://localhost:8080",
      "webRoot": "${workspaceRoot}"
    },
    {
      "type": "chrome",
      "request": "attach",
      "name": "Attach to Chrome",
      "port": 9222,
      "webRoot": "${workspaceRoot}"
    }

All the same, it does not work, who set it up, tell me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vadim Sysoev, 2017-07-09
@sysoev-dev

I solved the problem by installing Browser-sync

L
L2Banners, 2018-01-09
@L2Banners

You need to hold down Ctrl + Shift + P enter livereload and press Enter (enable / disable)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question