diff --git a/_SUMMARY.md b/_SUMMARY.md index a6e63a29d..4ff4caeb2 100644 --- a/_SUMMARY.md +++ b/_SUMMARY.md @@ -10,7 +10,7 @@ * [Setting Up Development Environment](setting_up_environment.html) * [Creating a Plugin Module](creating_plugin_module.html) * [Build Number Ranges](build_number_ranges.html) - * [Running a Plugin](running_plugin.html) + * [Running and Debugging a Plugin](running_and_debugging_a_plugin.html) * [Plugin Compatibility with IntelliJ Platform Products](plugin_compatibility.html) * [Plugin Structure](plugin_structure.html) * [Architectural Overview](architectural_overview.html) diff --git a/running_and_debugging_a_plugin.md b/running_and_debugging_a_plugin.md new file mode 100644 index 000000000..f786bfe9b --- /dev/null +++ b/running_and_debugging_a_plugin.md @@ -0,0 +1,24 @@ +--- +title: Running and Debugging a Plugin +--- + +# {{ page.title }} + + +*IntelliJ IDEA* 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 Run/Debug configuration) that specifies the class to run, VM parameters and other specific options. +In most cases, you can use default *Run\/Debug* configuration profiles for your plugin projects. +For information on how to change the Run/Debug configuration profile, refer to +[Run/Debug Configuration](http://www.jetbrains.com/idea/webhelp/run-debug-configuration.html) +and +[Run/Debug Configuration: Plugin](http://www.jetbrains.com/idea/webhelp/run-debug-configuration-plugin.html) +in *Intellij IDEA* Web Help. +Using the IntelliJ IDEA's debugger, you can find out the origin of the run-time errors and exceptions. + +**To debug a plugin** + +* On the main menu, choose *Run \| Debug* or press *Shift + F9*. + +**To run a plugin** + +* On the main menu, choose *Run \| Run* or press *Shift + F10*. \ No newline at end of file