我正在尝试调试我的角度应用程序,并且需要访问默认用户配置文件的cookie。当我声明"userDataDir": false
VS代码引发错误时,
下面是我的launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:4301",
"webRoot": "${workspaceRoot}",
"userDataDir": false
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceRoot}"
}
]
}
我想念什么吗?任何帮助将不胜感激。