【发布时间】:2019-08-09 07:49:19
【问题描述】:
您好,我正在尝试在 Visual Studio 代码中调试应用程序,但无法调试,它显示错误消息“不支持已配置的调试类型'chrome'”。
下面是launch.json文件代码
{
// Use IntelliSense to learn about possible 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": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 4200,
"webRoot": "${workspaceFolder}"
}
]
}
【问题讨论】:
-
你安装了 chrome 扩展吗?
-
this 是您想要让它工作的方法。
标签: angular debugging visual-studio-code angular6