my environment
windowns7 64bit
[debugger-for-chrome] Cannot connect to the target: connect ECONNREFUSED 127
対応 : chromeを一旦全て閉じる。その後 [デバッグ] 押下でchrome自動起動してつながる。
原因 : 未調査
solve : before debugging close all chrome tabs,after run debug button
ref.Cannot connect to the target (github)
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch localhost",
"type": "chrome",
"request": "launch",
"url": "http://localhost/myApp/",
"sourceMaps": false,
"webRoot": "${workspaceRoot}"
}
]
}