I am working on an Angular 4 project with Material design in Visual Studio Code. The setup is done using angular/cli.
Currently, I have been writing unit tests using Karma and Jasmine. However, when trying to debug the tests by setting breakpoints, it does not give any results.
I have searched online for solutions on configuring Karma and VSC, but none of them seem to work. It might be a version-specific issue.
Based on my project setup, can anyone provide some assistance?
// Dependency versions
EDIT
If I share my configuration files, maybe someone can pinpoint any potential problems.
// tsconfig.json
{
"compileOnSave": false,
// Compiler options...
}
// tsconfig.spec.json
{
// Configurations...
}
// karma.config.js
module.exports = function (config) {
// Configuration settings...
};
// launch.json
{
"version": "0.2.0",
"configurations": [
// Various configurations...
]
}