IntelliJ IDEA 2021.1 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.

NameDescriptionRequired plugins
ApplicationCompile 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 ScratchRun and debug Java scratch files that have the main() method defined.
Remote JVM debugAttach 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.
KotlinRun and debug Kotlin applications.Kotlin
Kotlin ScriptRun and debug Kotlin scripts.Kotlin
GroovyRun and debug Groovy scripts. For more information, refer to the Groovy section.Groovy
AmmoniteRun Scala scripts using Ammonite, which is a modernized version of Scala REPL. For more information, refer to the Ammonite section.Scala
Scala REPLEvaluate 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

NameDescriptionRequired plugins
MavenBuild and launch Maven projectsMaven
GradleRun Gradle tasks.Gradle
AntRun an Ant target.Ant

Testing

NameDescriptionRequired plugins
JUnitConfigure and run unit tests based on the JUnit testing framework.JUnit
TestNGLaunch tests that comply with the TestNG framework.TestNG
Cucumber JavaRun features or scenarios via the cucumber.cli.main class.Gherkin, Cucumber for Java
Arquillian JUnitRun and debug your Arquillian JUnit tests.Arquillian
Arquillian TestNGRun and debug your Arquillian TestNG tests.Arquillian
ScalaTestRun 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
Specs2Run Scala test specifications. For more information, refer to the Scala testing section.Scala

Web development

NameDescriptionRequired 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.
GrailsRun and debug the Grails applications, tests and Web tests.Grails

Other

NameDescriptionRequired plugins
CompoundRun 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.
PluginRun or debug plugin projects.
Shell scriptRun shell scripts.Shell Script
DockerfileCreated 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 imageCreated 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 composeCreated automatically when you run a multi-container Docker application from a Docker Compose file.Docker
XSLTRun XSLT scripts.XPathView + XSLT
Last modified: 08 March 2021