目前我正在試圖在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