Running and Debugging
In this part:
In PhpStorm, you can run, debug and test various types of applications without leaving the IDE.
Each class, script, console, server, or test that you wish to run or debug from within PhpStorm, 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 PhpStorm'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 a 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.