Ava :: Debugging tests with Visual Studio Code

Debugging tests with Visual Studio Code You can debug your tests using Visual Studio Code. Debugging with the debug terminal You can use VS Code’s “JavaScript Debug Terminal” to automatically debug AVA run on the command-line. From the Command Palette (F1or command + shift + p/ control + shift + p), run Debug: Create JavaScript Debug Terminal Run npx ava in the terminal Creating a launch configuration Alternatively you can create a launch configuration, which makes it easier to debug individual test files....

July 7, 2021 · 2 min · bynaki