![]() ![]() To create a new target, select Run/Debug Configurations on the main toolbar and then click Edit Configurations. ![]() To run a project on a target via Docker, you can use either a Dockerfile that contains the instructions for building an image or just the image itself.ġ. This post will show you how to run your Spring Boot project on a target. IntelliJ IDEA currently allows you to run Java applications, JUnit tests, and Maven commands from Java, Maven, and Spring Boot projects on Docker, SSH, and WSL targets. After that, launch the app on the target the same way you launch it locally.įor a more detailed workflow description, please refer to our help center. When you are finished configuring the target, you can select it in your run/debug configuration. When you create a target, the IDE detects the language runtime automatically, but you can change it or add more runtimes manually if needed. ![]() For a Java project, the language runtime is a JDK suitable for running your application, while for Maven it is the Maven version installed on the server. One of the key settings of a target is the language runtime. Terminology and workflowĪ target is a configured environment where the IDE will execute your code, for example, in a Docker container, on an SSH server, or in WSL. We plan to make it better in future releases, so we would really appreciate your feedback on this feature. Please note this is an initial version of Run Targets. Wouldn’t it be handy to run, test, and debug applications remotely without leaving IntelliJ IDEA? Well, our new Run Targets feature makes this possible. It’s becoming more and more common to run the applications you’re developing in Docker containers or on remote machines, rather than in your local environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |