IntelliJ IDEA 2020.3 Help

List of run/debug configurations

This page provides the list of run/debug configurations available in IntelliJ IDEA. For detailed instructions on how to use them in your project, refer to the related how-to pages.

This page only covers the standard set of run/debug configurations for IntelliJ IDEA Community and Ultimate, and some of the non-bundled JVM plugins. For other languages, like JavaScript, see the documentation for the related products (for example, Webstorm). Third-party and non-bundled plugins are out-of-scope for this documentation.

Name Description Required plugins
Application Compile your Java application with javac and run it with java.
JAR

Run and debug applications started via java -jar<name>.jar command. IntelliJ IDEA does not build the JAR by default. To include the build process as a step, add a Before Launch task.

Tutorial: Create your first Java application.

Java Scratch Run and debug Java scratch files that have the main() method defined.
Remote JVM debug Attach to a remote JVM or listen for incoming connections over a socket or shared memory (Windows). This run/debug configuration represents the debugger end. The host application has to be started separately. For detailed procedures, refer to Attach to process and Tutorial: Remote debug.
Kotlin Run and debug Kotlin applications. Kotlin
Kotlin Script Run and debug Kotlin scripts. Kotlin
Groovy Run and debug Groovy scripts. For more information, refer to the Groovy section. Groovy
Ammonite Run Scala scripts using Ammonite, which is a modernized version of Scala REPL. For more information, refer to the Ammonite section. Scala
Scala REPL Evaluate Scala expressions in the Run tool window. However, the preferred way to invoke Scala REPL is to select Tools | Scala REPL from the main menu. In this case, the run/debug configuration is created automatically and you can modify it as needed. Scala

Build tools

Name Description Required plugins
Maven Build and launch Maven projects Maven
Gradle Run Gradle tasks. Gradle
Ant Run an Ant target. Ant

Testing

Name Description Required plugins
JUnit Configure and run unit tests based on the JUnit testing framework. JUnit
TestNG Launch tests that comply with the TestNG framework. TestNG
Cucumber Java Run features or scenarios via the cucumber.cli.main class. Gherkin, Cucumber for Java
Arquillian JUnit Run and debug your Arquillian JUnit tests. Arquillian
Arquillian TestNG Run and debug your Arquillian TestNG tests. Arquillian
ScalaTest Run Scala tests and test scopes with ScalaTest, which is the most flexible and most popular testing tool in the Scala ecosystem. For more information, refer to the Scala testing section. Scala
Specs2 Run Scala test specifications. For more information, refer to the Scala testing section. Scala

Web development

Name Description Required plugins
HTTP Request (Ultimate) Execute HTTP Requests directly in the IntelliJ IDEA either individually or as part of a compound run/debug configuration. HTTP Client
Spring Boot (Ultimate) Run Spring Boot applications. For details, refer to Spring Boot. Spring, Spring Boot
Tomcat Server (Ultimate) Deploy and debug your applications on Apache Tomcat. Tomcat and TomEE
TomEE (Ultimate) Deploy and debug your applications on Apache TomEE. Tomcat and TomEE
WebLogic Server (Ultimate) Deploy and debug your applications on Oracle WebLogic Server. WebLogic
WebSphere Server (Ultimate) Deploy and debug your applications on WebSphere Application Server. WebSphere
GlassFish Server (Ultimate) Deploy and debug your applications on GlassFish Server. GlassFish
Jetty (Ultimate) Deploy and debug your applications on Jetty. Jetty
JSR-45 Compatible Server (Ultimate) Run your applications on JSR45-compatible application servers.
Grails Run and debug the Grails applications, tests and Web tests. Grails

Other

Name Description Required plugins
Compound Run a sequence of run/debug configurations. This is useful, for example, if you want to launch various automated tests. Each configuration is available in a separate tab in the Run or Debug tool window.
Plugin Run or debug plugin projects.
Shell script Run shell scripts. Shell Script
Dockerfile Created automatically when you run a container from a Dockerfile. This configuration builds an image from the Dockerfile, and then derives a container from this image. Docker
Docker image Created automatically when you run a container from an existing image. You can run it from a locally existing Docker image that you either pulled or built previously. Docker
Docker compose Created automatically when you run a multi-container Docker application from a Docker Compose file. Docker
XSLT Run XSLT scripts. XPathView + XSLT
Last modified: 12 January 2021