While working on another article, I needed to flush out some ideas using unit test. In particular I needed to view some variables in flight, so I needed a debugger.
After search for a bit I ran across this documentation on .Vitest Debugging in Visual Studio Code
Creating a .vscode/launch.json configuration file and adding the following information.
Just ensure that you have your test file opened and currenctly selected in
Visual Studio Code (vscode)
and click the debug button, and you’re off to the races.