Launch debugging any unit test
To launch debugging, you should open the file with a unit test in the editor and select the Debug unit test item in its context menu.
Another way is to open the Debug view: you can use the Main Menu:
Run ⇒ Debug unit test.
NB: These options are active if the caret is placed inside a test method.
When you start the debugging, this test will run first and after it is finished, the Debug view will be opened.
NB: If you want to debug multiple methods in a class, you should launch the debugging for each of them.
Clicking on the Close button closes the notification window and stops launching the Debugger, but the test is still running.
In this section:
This also may be useful: