Install server
$ npm install simplehttpserver -g
From VS Code internal terminal, inside project dir, port based on VS debug port
$ simplehttpserver -p 3100
{ | |
"version": "0.2.0", | |
"configurations": [{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Chrome Canary", | |
"url": "http://localhost:3100", | |
"runtimeExecutable": "C:/Users/trans/AppData/Local/Google/Chrome SxS/Application/chrome.exe", | |
"webRoot": "${workspaceFolder}", | |
"skipFiles": [ | |
"node_modules" | |
] | |
}, | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Google Chrome", | |
"url": "http://localhost:3100", | |
"webRoot": "${workspaceFolder}" | |
} | |
] | |
} |