我正在使用Visual Studio Code编写基于茉莉花和业力的单元测试用例。我想知道是否可以在vs代码工具本身中调试测试。
答案 0 :(得分:0)
9876
(或您的karma.conf.js
中指定的任何内容)。参见下文。ng test
),并在必要时刷新打开的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": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:9876",
"webRoot": "${workspaceFolder}"
}
]
}