angular - 在vs代码中调试离子项目时未绑定断点?
问题描述
我在 Visual Studio 代码中有一个小离子项目。当我想调试它时,当我将鼠标悬停在断点上时,断点变得苍白,并显示“未绑定断点”消息。
但是,在普通的角度应用程序中,我可以毫无问题地调试。
Ionic 是全局安装的。
我已经检查了现有的解决方案,但到目前为止它们还没有工作。在我的 angular.json 中,我设置sourceMaps
为true
,但没有任何改变。
这是我的launch.json:
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8100",
"webRoot": "${workspaceFolder}",
"sourceMaps": true
}
]
}
谁能告诉我我做错了什么?感谢您的每一个帮助!
解决方案
推荐阅读
- php - PHP str_replace 删除文件内容
- javascript - 如何使用来自独立 node.js 应用程序的 ethers.js 连接到 Metamask 钱包?
- reactjs - 如何访问选定对象的值
- javascript - JSDoc:使用来自不同模块的 ES6 类和 @type 标签
- python - 将文本文件行的第一节和最后一节排序到字典中
- c# - 当 iPhone 用户退出主屏幕或 App Switcher 时,如何让我的计时器继续运行?
- python - 如何根据另一个数据框列值对数据框进行排序?
- vb.net - vb.net 什么是 %Delay% 和其他
- python - 是否可以仅使用 Python 计算图像中的白色像素?
- python - 如何使用集成模型从堆叠中获取每个基本模型的分数