Visual Code 调用Chrome 浏览HTML

Code 使用快捷键:Ctrl+Shit+B

然后再Task.json,替换以下:

{
"version": "0.1.0",
"command": "chrome",
"windows": {
    "command": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
},
"args": ["${file}"] }

 

你可能感兴趣的:(Visual Code 调用Chrome 浏览HTML)