How to debug package unit tests in VS Code?

For package development, I run unit tests from package mode as (MyPackage) pkg> test MyPackage, but how do I start unittests.jl under debugger in VS Code?

(I’m using Test package with @testset "somename" begin ...@test...)

Thank you very much,

2 Likes