'Jest Runner won't allow me to debug tests just skips test each time

skipped test

When pressing debug on the test it just skips it. It works for other tests in different repositories that I have, but for this specific one it doesn't.

I have made sure that the versions of jest and jest-runner matched in the two repos as well

Jest-Runner: v0.4.48 Jest-Runner-VSCode: ^2.2.0 Jest:^27.5.1 and tested downgrading to ^27.4.3

Gif depicting behavior of the jest test



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source