我正在尝试使用Windows OS和Chrome浏览器在VSCode中启动调试会话。我无法使用已有的配置启动调试会话。
下面是我已经添加的配置。
{
"version":"0.2.0",
"configurations":[
{
"type":"chrome",
"request":"launch",
"name":"Launch Chromium against localhost",
"url":"http://localhost:4200/#",
"webRoot":"${workspaceFolder}/wwwroot",
"runtimeExecutable":"C:/Users/{userName}/AppData/Local/Chromium/Application/chrome.exe",
"runtimeArgs":[
"--new-window",
"-user-data-dir=\"/${workspaceFolder}/DevProfile\"",
"--remote-debugging-port=9222",
"--disable-background-networking"
]
}
]
}
请帮助我更正调试配置。预先感谢您的帮助。