Running, Debugging and Testing
In IntelliJ IDEA, you can run, debug and test various types of applications without leaving the IDE.
Each class that you wish to run or debug from within IntelliJ IDEA, needs a special profile, or a Run/Debug configuration that specifies the class to run, VM arguments, and other specific options. This also applies to test classes.
Using the IntelliJ IDEA's debugger, you can find out the origin of the run-time errors and exceptions. The debugger enables you to execute your application step by step, examine program information related to variables, watches, or threads, and change your program without leaving the IDE.
Prior to launching the debugger session, you have to set breakpoints that cause the debugger to suspend application (or take some other actions), when such breakpoint is reached.
The console information and the output generated during running, debugging or testing sessions are displayed in the Run tool window or the Debug tool window. Test results are shown on the Test Runner tab.
In this part you can find basic information about: