目前我正在试图在Visual Studio谷歌浏览器的调试器“的网站无法到达本地主机拒绝连接”
的打开写在Visual Studio中的谷歌Chrome浏览一个HTML文件,并运行谷歌铬合金调试扩展以下是上传.json文件,我使用的第一配置
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost, with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:8080",
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
},
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
}
]
但是当它在谷歌浏览器打开我收到错误
这个网站无法到达
localhost拒绝连接。
由铬始于'的chrome.exe --remote调试端口= 9222'? – wOxxOm