Launch debugging any unit test
You should open the file with a unit test in the editor. You can right-click on the test and select the Debug unit test item in the context menu.
Another way is to open the Debug mode: you can use the Main Menu:
Debug ⇒ 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 mode will open.
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: