我获取SourceMaps.loadSourceMapContents:在Mac上使用VSC调试Angular 4应用程序时,无法从chrome扩展下载sourcemap

我获取SourceMaps.loadSourceMapContents:在Mac上使用VSC调试Angular 4应用程序时,无法从chrome扩展下载sourcemap,angular,visual-studio-code,Angular,Visual Studio Code,我正在尝试使用Visual Studio代码在MAC上进行调试 他们建议加上 "sourceMapPathOverrides": { "webpack:///./*": "${webRoot}/*" }, 在launch.json中,但我仍然得到这个错误 SourceMaps.loadSourceMapContents: Could not download sourcemap from chrome-extension://elgalmkoelokbchhkhaccko

我正在尝试使用Visual Studio代码在MAC上进行调试

他们建议加上

  "sourceMapPathOverrides": {
    "webpack:///./*": "${webRoot}/*"
    },
在launch.json中,但我仍然得到这个错误

SourceMaps.loadSourceMapContents: Could not download sourcemap from chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/content-script.js.map
SourceMaps.loadSourceMapContents: Could not download sourcemap from chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/ng-validate.js.map
SourceMaps.loadSourceMapContents: Could not download sourcemap from chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js.map
我在VisualStudio代码中的launch.json中有这个

{
  // Use IntelliSense to learn about possible Node.js debug attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
 "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "nodemon",
      "runtimeExecutable": "nodemon",
      "runtimeArgs": [
        "--debug=5858"
      ],
      "program": "${workspaceRoot}/server/bin/www",
      "restart": true,
      "port": 5858,
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    },
        {
          "name": "Client",
          "type": "chrome",
          "request": "launch",
          "url": "http://localhost:4200",
          "runtimeArgs": [
            "--user-data-dir",
            "--remote-debugging-port=9222"
          ],
          "sourceMaps": true,
          "trace": true,
          "webRoot": "${workspaceRoot}/client/",
          "sourceMapPathOverrides": {
            "webpack:///./*": "${webRoot}/*"
            },
          "userDataDir": "${workspaceRoot}/.vscode/chrome"
        },
    {
      "type": "node",
      "request": "launch",
      "name": "Server",
      "program": "${workspaceRoot}/server/bin/www",
      "outFiles": [
        "${workspaceRoot}/out/**/*.js"
      ]
    }
  ]
}