我尝试使用 google chrome 调试器,每次按下调试按钮时,我都无法访问本地主机?我究竟做错了什么?
我的launch.json是这样设置的......
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:1234",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceFolder}"
}
]
}
任何帮助将不胜感激,如果需要更多信息,请告诉我..