Since Go does not allow to debug tests in some IDEs (see also this issue) I had to write my tests twice in my queue implementation.
One time inside main.go, second time - inside queue_test.go
I use Visual Studio Code with delve.
What is the best IDE or pattern to debug Go tests without duplicating them ?