Make pytest and VSCode co-operate
In vscode when you run the tests you need ask pytest to hand over control to vscode's debugger This is necessary because in a case of an exception raises pytest "consumes" it
Closes #1298 (closed)
Edited by Adam Fekete