To run or debug your plugin, you should create the corresponding Run/Debug configuration first.
- On the main menu, choose .
- In the Run/Debug Configuration dialog, click
,
or press ⇧⌫⇧⌫InsertInsert, and select Plugin. - Specify the settings as necessary and click OK.
Depending on whether you are going to run or debug your plugin:
- To run the plugin, select from the main menu, or press ⌃R⇧F10⇧⌘F11^ F5⇧ F10.
- To debug the plugin, select from the main menu, or press ⌃D⇧F9⌘F11⌥ F5⇧ F9.
As a result, IntelliJ IDEA will start an instance of itself. This will be the instance in which your plugin will be available.