Javascript 如何修复';localhost拒绝连接';来自VS代码?
我正在VS代码中处理一个VUE项目,并尝试使用“Chrome(预览)”,这是默认配置文件:Javascript 如何修复';localhost拒绝连接';来自VS代码?,javascript,vue.js,google-chrome,localhost,Javascript,Vue.js,Google Chrome,Localhost,我正在VS代码中处理一个VUE项目,并尝试使用“Chrome(预览)”,这是默认配置文件: { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
不确定是否需要更改这些内容?这类东西的新手,请告诉我