Golang – Debug a unit test manually

Encountered a tricky problem – unit tests completed without any errors when ran them using IDE, but when ran from the console, one of the tests was failing. I won’t go into the problem details (it was something to do with how IDE allocates /dev/tty device), however will give instructions how to debug a failing test mnually.  …