With Karma you’d boot up the browser and use its F12/Developer Tools to debug the tests. Jest, being optimized for CLI and specially CI/CD environments, does not come with the same simplified debugging experience. However, you can tap in to VS Code’s debugger for perhaps, even a better toolset. Setting it up on a per project basis does require few manual steps and this post is about a simple Powershell Script that lets you skip even that.
Continue reading “Debugging Jest test project with VS Code (and NX, Angular, Powershell)”