IntelliJ IDEA 2021.2 Help

List of run/debug configuration templates

This page lists run/debug configuration templates 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

Use it to

Required plugins

Ammonite

Run Scala scripts using Ammonite, which is a modernized version of Scala REPL. For more information, refer to the Ammonite section.

Scala

Ant

Run an Ant target.

Ant

Application

Compile your Java application with javac and run it with java.

Attach to Node.js/Chrome (Ultimate)

Attach to and debug already running Node.js applications.

Node.js

Cucumber Java

Run features or scenarios via the cucumber.cli.main class.

Gherkin, Cucumber for Java

Compound

Run several run/debug configurations in parallel. This is useful, for example, if you want to launch various automated tests or client-server apps. The controls for each configuration will be available in a separate tab in the Run or Debug tool window.

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

GlassFish Server (Ultimate)

Deploy and debug your applications on GlassFish Server.

GlassFish

Gradle

Run Gradle tasks.

Gradle

Grails

Run and debug the Grails applications, tests and Web tests.

Grails

Groovy

Run and debug Groovy scripts. For more information, refer to the Groovy section.

Groovy

Grunt.js

Run and debug Grunt.js tasks.

Gulp.js

Run and debug Gulp.js tasks.

HTTP Request (Ultimate)

Execute HTTP Requests directly in the IntelliJ IDEA either individually or as part of a compound run/debug configuration.

HTTP Client

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.

JavaScript Debug

Debug JavaScript in applications running on the built-in or on an external web server and to debug Dart web applications.

JavaScript Debugger

Jest (Ultimate)

Run and debug Jest tests.

Jetty (Ultimate)

Deploy and debug your applications on Jetty.

Jetty

JSR-45 Compatible Server (Ultimate)

Run your applications on JSR45-compatible application servers.

JUnit

Configure and run unit tests based on the JUnit testing framework.

JUnit

Karma (Ultimate)

Run and debug JavaScript unit tests using the Karma test runner

Karma

Kotlin

Run and debug Kotlin applications.

Kotlin

Kotlin Script

Run and debug Kotlin scripts.

Kotlin

Maven

Build and launch Maven projects

Maven

Mocha (Ultimate)

Run and debug JavaScript unit tests using the Mocha test runner

Node.js

Node.js (Ultimate)

Debug Node.js applications.

Node.js

Nodeunit (Ultimate)

Run and debug unit tests for Node.js applications

Node.js

NPM

Run and debug npm and Yarn scripts locally, that is when IntelliJ IDEA itself starts Node.js installed on your computer and initiates script execution.

Plugin

Run or debug plugin projects.

Protractor (Ultimate)

Run and debug AngularJS unit tests using the Protractor test runner.

React Native (Ultimate)

Run and debug React Native applications.

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.

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

TestNG

Launch tests that comply with the TestNG framework.

TestNG

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

Spring Boot (Ultimate)

Run Spring Boot applications. For details, refer to Spring Boot.

Spring, Spring Boot

Spy-js (Ultimate)

Trace Web applications using the Spy-js tool.

Spy-js

Spy-js for Node.js (Ultimate)

Trace Node.js applications using the Spy-js tool.

Spy-js

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

XSLT

Run XSLT scripts.

XPathView + XSLT

Last modified: 02 August 2022