How to debug exception triggered by unit test in VSCode

It appears that pressing Step-Into (F11) and then Continue (F5) when at the original call stack of the above screenshot brings us to the line of f that originally creates the exception.

For this to work “BREAKPOINTS → All Exceptions” has to be enabled.

Is this expected behaviour?