--- title: Running and Debugging a Plugin --- The *IntelliJ Platform* allows you to run and debug a plugin without leaving the IDE. To run or debug the plugin from within *IntelliJ IDEA*, you need a configured special profile (a *Plugin* Run/Debug configuration) that specifies the plugin module, VM parameters and other specific options. For information on how to change the Run/Debug configuration profile, refer to [Run/Debug Configuration](http://www.jetbrains.com/idea/help/run-debug-configuration.html) and [Run/Debug Configuration: Plugin](http://www.jetbrains.com/idea/help/run-debug-configuration-plugin.html) in *IntelliJ IDEA* Web Help. Using *IntelliJ IDEA*'s debugger, you can find out the origin of the run-time errors and exceptions. **To debug a plugin** * Select **Run \| Debug** in the main menu, or press Shift + F9. **To run a plugin** * Select **Run \| Run** in the main menu, or press Shift + F10.