Debugging test hangs
If I run my complete test suite or if I run individually one test, it works ok: in no time I have my result back. However if I try to debug one test method, it hangs with "Instantiating test..." forever. The console does not provide any useful information to identify where it is hanging.
I would appreciate some pointer to find a way to properly debug why it is hanging (such as activating a more verbose output)
TIA,
Mariano
I would appreciate some pointer to find a way to properly debug why it is hanging (such as activating a more verbose output)
TIA,
Mariano
Please sign in to leave a comment.
If there is a way to add more verbose output, I don't know what it is. The command line it runs is printed in the first line of the console. You could try copying that to a terminal window and see what happens. Is there any chance of a firewall blocking the localhost socket connection? I think the default port is 51308.
I have executed the process by prompt and it says:
However it exits immediately and via pycharm it hangs. Any idea why the connection could be refused? It is my personal machine and it has no firewall that I am aware of.
thanks for the followup.
Connected to pydev debugger (build 135.1057)
pydev debugger: starting
Process finished with exit code 137