intellij-sdk-code-samples/basics/getting_started/running_and_debugging_a_plugin.md
Nikolay Chashnikov 5c1b6fdd5c
Update running_and_debugging_a_plugin.md
Rewrite description to get rid of misleading 'run ... without leaving the IDE' part.
2017-12-21 10:02:14 +03:00

981 B

title
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 profile, it launches the IDE with your plugin installed.

For information on how to change the Run/Debug configuration profile, refer to Run/Debug Configuration and Run/Debug Configuration: Plugin 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.