Running and Debugging a Plugin
It's possible to run and debug a plugin directly from the IntelliJ IDEA. You need a configured special profile (a Plugin Run/Debug configuration) that specifies the plugin module, VM parameters, and other specific options. When you run such a profile, it launches the IDE with your plugin installed.
See IDE Development Instances for more information about configuration and advanced settings.
Using IntelliJ IDEA's debugger, you can find out the origin of the run-time errors and exceptions.
To debug a plugin
Select Shift+F9.in the main menu, or press
To run a plugin
Select Shift+F10.in the main menu, or press