Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hotkey for debugging a test case in intellij?

In a normal java project with e.g. JUnit 4 test classes:

I want to debug either the whole test class currently open in the editor, or one specific test case.

I know Ctrl+Shift+F10 will run the relevant test when the cursor is on the class declaration or test method declaration, and I know I can click on the little green arrow to debug or run code coverage.

My question is - is there a hotkey? Is it possible to set one? All this mouse business tends to really ruin my flow.

Thanks!

like image 968
Tolstoyevsky Avatar asked Sep 06 '25 20:09

Tolstoyevsky


1 Answers

To answer my own question - yes! The relevant keymap is called Debug context configuration, screenshot attached below in which I bound it to Ctrl+Shift+F11 IntelliJ bind debug context

like image 106
Tolstoyevsky Avatar answered Sep 10 '25 05:09

Tolstoyevsky