typescript项目,在 vscode 中 F5 启动chrome后,断点变灰,并提示如下图
贴出launch.json配置,大神路过给诊断下。该配置以前调试js项目没有异常。
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
“version”: “0.2.0”,
“configurations”: [
{
“type”: “chrome”,
“request”: “launch”,
“name”: “chrome”,
“url”: “http://localhost:7456”,
“webRoot”: “{workspaceRoot}",
"sourceMapPathOverrides": {
"assets/*": "{workspaceRoot}/assets/*”
},
“sourceMaps”: true,
“userDataDir”: “${workspaceRoot}/.vscode/chrome”
}
]
}
